Packages

case class CellBuilder() extends Product with Serializable

Base builder for all type of cell

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CellBuilder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CellBuilder()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildCellEntity(): CellEntity

    Builds a CellEntity.

    Builds a CellEntity.

    returns

    The CellEntity.

  6. def buildGravityEntity(): GravityCellEntity

    Builds a GravityCellEntity.

    Builds a GravityCellEntity.

    returns

    The GravityCellEntity.

  7. def buildPlayerEntity(): PlayerCellEntity

    Builds a PlayerCellEntity.

    Builds a PlayerCellEntity.

    returns

    The PlayerCellEntity.

  8. def buildSentientEntity(): SentientCellEntity

    Builds a SentientCellEntity.

    Builds a SentientCellEntity.

    returns

    The SentientCellEntity.

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def collidable(collidable: Boolean): CellBuilder

    Sets the collidability.

    Sets the collidability.

    collidable

    If the entity can collide or not.

    returns

    The entity builder.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def visible(visible: Boolean): CellBuilder

    Sets the visibility.

    Sets the visibility.

    visible

    If the entity is visible or not.

    returns

    The entity builder.

  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  23. def withAcceleration(acceleration: AccelerationComponent): CellBuilder

    Sets the acceleration.

    Sets the acceleration.

    acceleration

    The Acceleration component.

    returns

    The entity builder.

  24. def withAcceleration(acceleration: Vector): CellBuilder

    Sets the acceleration.

    Sets the acceleration.

    acceleration

    The acceleration vector.

    returns

    The entity builder.

  25. def withAcceleration(x: Double, y: Double): CellBuilder

    Sets the acceleration.

    Sets the acceleration.

    x

    The acceleration x coordinate.

    y

    The acceleration y coordinate.

    returns

    The entity builder.

  26. def withDimension(dimension: DimensionComponent): CellBuilder

    Sets the dimension.

    Sets the dimension.

    dimension

    The dimension component.

    returns

    The entity builder.

  27. def withDimension(dimension: Double): CellBuilder

    Sets the dimension.

    Sets the dimension.

    dimension

    The radius of the entity.

    returns

    The entity builder.

  28. def withEntityType(entityType: EntityType.Value): CellBuilder

    Sets the entity type.

    Sets the entity type.

    entityType

    The entity type.

    returns

    The entity builder.

  29. def withPosition(position: PositionComponent): CellBuilder

    Sets the position.

    Sets the position.

    position

    The position component.

    returns

    The entity builder.

  30. def withPosition(position: Point): CellBuilder

    Sets the position.

    Sets the position.

    position

    The position point.

    returns

    The entity builder.

  31. def withPosition(x: Double, y: Double): CellBuilder

    Sets the position.

    Sets the position.

    x

    The position x coordinate.

    y

    The position y coordinate.

    returns

    The entity builder.

  32. def withSpawner(spawner: SpawnerComponent): CellBuilder

    Sets the spawner.

    Sets the spawner.

    spawner

    The spawner component.

    returns

    The entity builder.

  33. def withSpawner(canSpawn: Boolean): CellBuilder

    Sets the spawner.

    Sets the spawner.

    canSpawn

    If the entity spawner can spawn or not.

    returns

    The entity builder.

  34. def withSpecificWeight(weight: SpecificWeightComponent): CellBuilder

    Sets the specific weight.

    Sets the specific weight.

    weight

    The specific weight component.

    returns

    The entity builder.

  35. def withSpecificWeight(weight: Double): CellBuilder

    Sets the specific weight.

    Sets the specific weight.

    weight

    The weight.

    returns

    The entity builder.

  36. def withSpeed(speed: SpeedComponent): CellBuilder

    Sets the speed.

    Sets the speed.

    speed

    The speed component.

    returns

    The entity builder.

  37. def withSpeed(speed: Vector): CellBuilder

    Sets the speed.

    Sets the speed.

    speed

    The speed component.

    returns

    The entity builder.

  38. def withSpeed(x: Double, y: Double): CellBuilder

    Sets the speed.

    Sets the speed.

    x

    The speed x coordinate.

    y

    The speed y coordinate.

    returns

    The entity builder.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped