getId
getId: (ActorSpotAnim) -> numberThe spot animation's id (SpotanimID).
| Method | Returns | Description |
|---|---|---|
getId() | number | The spot animation's id (SpotanimID). |
getHeight() | number | The height it is drawn at above the actor. |
getStartCycle() | number | The client cycle it starts on. |
getFrame() | number | The frame its animation was on when getSpotAnims() handed it out (a copy: ask getSpotAnims() again for the frame now), -1 where it did… |
getCycle() | number | The client cycles it had spent on that frame, as getFrame() a copy. |
getSlot() | number | The slot it occupies. |
| Method | Returns | Description |
|---|---|---|
Actor.getSpotAnims | {ActorSpotAnim} | The spot animations the actor carries, one per slot in use, in slot order. |
getIdgetId: (ActorSpotAnim) -> numberThe spot animation's id (SpotanimID).
getHeightgetHeight: (ActorSpotAnim) -> numberThe height it is drawn at above the actor.
getStartCyclegetStartCycle: (ActorSpotAnim) -> numberThe client cycle it starts on.
getFramegetFrame: (ActorSpotAnim) -> numberThe frame its animation was on when getSpotAnims() handed it out (a copy: ask getSpotAnims() again for the frame now), -1 where it did not read.
getCyclegetCycle: (ActorSpotAnim) -> numberThe client cycles it had spent on that frame, as getFrame() a copy.
getSlotgetSlot: (ActorSpotAnim) -> numberThe slot it occupies.