gnieh.sohva.sync.entities

RichEntity

implicit final class RichEntity extends AnyVal

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

Instance Constructors

  1. new RichEntity(entity: Entity)

Value Members

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

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

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

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def delete(implicit manager: EntityManager): Boolean

    Removes the entity from the system

  6. val entity: Entity

  7. def get[T](implicit arg0: Manifest[T], manager: EntityManager): Option[T]

    Gets the component of the given type attached to the entity if any

  8. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  9. def has[T](component: T)(implicit arg0: Manifest[T], manager: EntityManager): Boolean

    Indicates whether the entity has the given component

  10. def has[T](implicit arg0: Manifest[T], manager: EntityManager): Boolean

    Indicates whether the entity has at least one component of the given name

  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. def remove[T](implicit arg0: Manifest[T], manager: EntityManager): Boolean

    Removes all components of a given type attached to the entity

  13. def remove[T <: IdRev](component: T)(implicit arg0: Manifest[T], manager: EntityManager): Boolean

    Removes the given component to the entity

  14. def save[T <: IdRev](component: T)(implicit arg0: Manifest[T], manager: EntityManager): T

    Adds the given component to the entity

  15. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped