States.wiki
author almikes@aol.com
Wed, 03 Dec 2014 05:43:29 +0000
changeset 415 70961d4eef05
parent 357 b560331ed39c
child 429 63844466ea5f
permissions -rw-r--r--
Fixed misleading descriptions of GetState and SetState (use of bitmasks were not mentioned). Added commented examples.

States hedgehogs can be in (see http://code.google.com/p/hedgewars/source/browse/hedgewars/uConsts.pas#195 for a current
list).
{{{
        gstDrowning
        gstHHDriven
        gstMoving
        gstAttacked
        gstAttacking
        gstCollision
        gstHHChooseTarget
        gstHHJumping
        gsttmpFlag
        gstHHThinking
        gstNoDamage
        gstHHHJump
        gstAnimation
        gstHHDeath
        gstWinner // this, along with gstLoser, is good for indicating hedgies know they did well or screwed up
        gstWait
        gstNotKickable
        gstLoser
        gstHHGone
        gstInvisible
        gstSubmersible
        gstFrozen
}}}