GraphicsObject

Methods
7
Fields
None

Methods

MethodReturnsDescription
getId()numberThe spot animation (SpotanimID).
getLocation()LocalPointWhere it plays, as a local point of its world view.
getStartCycle()numberThe client cycle it starts at.
getLevel()numberThe plane it plays on.
getZ()numberIts height.
finished()booleanWhether it has played out (it is removed at the start of the next frame).
getWorldView()WorldViewThe world view it plays in.

Returned by

MethodReturnsDescription
GraphicsObjectCreated.getGraphicsObjectGraphicsObject?The graphics object.
WorldView.getGraphicsObjects{GraphicsObject}The spot animations playing in it, in the client's order.

Method details

finished

finished: (GraphicsObject) -> boolean

Whether it has played out (it is removed at the start of the next frame).