crane

World

class World extends AnyRef

Creates world

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. World
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new World(delta: Int = 1)

    creates the world

    creates the world

    delta

    the delta in integers

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addEntity(entity: Entity, second: Boolean = false): Unit

    Adds entity to world

    Adds entity to world

    entity

    the Entity to add to the world

    second

    boolean signifying that the Entity has initialized this call - you should not need to use this

  7. def addSystem(system: System, tier: Int = 0): Unit

    Adds system to world

    Adds system to world

    system

    the System to add to the world

    tier

    the tier that the system will run at as an integer - tiers wil be processed in order

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def createEntity(tag: String = ""): Entity

    Returns entity that was created (does not add entity to the world)

    Returns entity that was created (does not add entity to the world)

    tag

    (optional) tag as a string

  11. def createGroup(group: String): Unit

    Creates group (returns nothing)

    Creates group (returns nothing)

    group

    (optional) group name as a string

  12. var delta: Int

    the delta in integers

  13. def entities: ArrayBuffer[Entity]

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def getEntitiesByComponents[T <: AnyRef](componentTypes: T*): List[Entity]

    Gets all entities by Components that are required

    Gets all entities by Components that are required

    componentTypes

    the components to match against (the class - not the instance)

  19. def getEntitiesWithExclusions[T <: AnyRef](include: List[T], exclude: List[T] = List()): List[Entity]

    Gets all entities by Components with specific exclusions

    Gets all entities by Components with specific exclusions

    include

    list of components to ensure are included (the class - not the instance)

    exclude

    list of components to ensure are excluded (the class - not the instance)

  20. def getEntityByTag(tag: String): Option[Entity]

    Gets the entity by specific tag

    Gets the entity by specific tag

    tag

    the tag as a String

  21. def getGroup(group: String): ArrayBuffer[Entity]

    Get Group

    Get Group

    group

    the group to get as a string

  22. val groups: Map[String, ArrayBuffer[Entity]]

  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def process(): Unit

    Processes the world *

  29. def registerEntityToGroup(entity: Entity, group: String): ArrayBuffer[Entity]

    Registers entity to group

    Registers entity to group

    entity

    the Entity to add

    group

    the group name as a string

  30. def removeEntity(entity: Entity, second: Boolean = false): Unit

    Removes specific entity from world

    Removes specific entity from world

    entity

    the Entity to remove

    second

    boolean signifying that the Entity has initialized this call - you should not need to use this

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped