getAnimationDirection
getAnimationDirection: (Texture) -> numberHow the texture scrolls: 0 not at all, 1 to 4 the four ways it can (1 and 2 up and down, 3 and 4 sideways), from the game cache; fixed for the client's run.
| Method | Returns | Description |
|---|---|---|
getAnimationDirection() | number | How the texture scrolls: 0 not at all, 1 to 4 the four ways it can (1 and 2 up and down, 3 and 4 sideways), from the game cache; fixed for… |
getAnimationSpeed() | number | How far the texture scrolls each client cycle, in pixels, from the game cache; fixed for the client's run. |
equals(any) | boolean | Whether other equals this Texture, as == answers it (false for a value of another class). |
| Method | Returns | Description |
|---|---|---|
TextureProvider.getTextures | { n: number, [number]: Texture? } | The client's textures, by id: texture id is at textures[id + 1], nil where the client has no texture at that id, and n holds the leng… |
getAnimationDirectiongetAnimationDirection: (Texture) -> numberHow the texture scrolls: 0 not at all, 1 to 4 the four ways it can (1 and 2 up and down, 3 and 4 sideways), from the game cache; fixed for the client's run.
getAnimationSpeedgetAnimationSpeed: (Texture) -> numberHow far the texture scrolls each client cycle, in pixels, from the game cache; fixed for the client's run.
equalsequals: (Texture, any) -> booleanWhether other equals this Texture, as == answers it (false for a value of another class).