ig.

EntityDummy

new EntityDummy()

Generic dummy entity for use in testing. IMPORTANT: this entity has a defined size and animation sheet!

Author:
  • Collin Hover - collinhover.com
Source:

animSettings

Source:

animSheet

Default Value:
  • dummy.png
Source:

collides

Source:

damageSettings

Default Value:
  • gray particles
Source:

deathSettings

Default Value:
  • gray particles
Source:

opaqueOffset

Dummy has slightly different shadow casting offsets.

Source:

initTypes()

Initializes dummy types.
- adds ig.EntityExtended.TYPE.DAMAGEABLE to ig.EntityExtended#type

Source: