CritterContainer

Contaner for Critters

Constructor

Parameter Type Description
t Object  

Properties

.e

.state

.isMoving

Type: Boolean

.isForward

Type: Boolean

.hasTail

Type: Boolean

.hasEars

Type: Boolean

.direction

Type: Number

.framerate

Type: Number

.loop

Type: Number

.regX

Type: Number

.regY

Type: Number

.i

Type: Number

.bodyContainer

.feetContainer

Type: :doc:`Container`_

.baseContainer

Type: :doc:`Container`_

.skin

Type: :doc:`Container`_

.ears

Type: :doc:`Container`_

.face

Type: :doc:`Container`_

.feet

Type: :doc:`Container`_

.tail

Type: :doc:`Container`_

.hasEars

Type: Boolean

.hasTail

Type: Boolean

.slots

Type: Object

.backs

Type: Object

.forward

Type: Array.<SlotContainer>

.backward

Type: Array.<SlotContainer>

.o

.isForward

.isForward

.direction

.state

.state

Methods

.addItem()

.removeItem()

.updateGear()

.updateDirection()

.updateDepth()

.updateState()