Entish Docs (35% documented)

Entish Reference ExistentialComponent Class Reference

ExistentialComponent

A component for existential (and semi-existential) traits.

  • Undocumented

  • Undocumented

  • Undocumented

  • The entity’s name, if any.

    Declaration

    Swift

    public var name: String?
  • The number of hit points the character can lose before dying.

    Declaration

    Swift

    public var HP: HPType
  • The designated initializer.

    Declaration

    Swift

    public init(entityID eid:Entity.EntityID, name n:String?, HP hp:HPType)