Module: PseudoGame.game.Pivot
Class that represents a game's pivot
Functions
PseudoGame.game.Pivot:new ([style=level_style]) | the constructor for a pivot | |
PseudoGame.game.Pivot:update () | update the pivots shape and color |
Fields
pseudogame.game.pivot.style | ||
pseudogame.game.pivot.polygon_collection |
Functions
- 🔗 PseudoGame.game.Pivot:new ([style=level_style])
-
the constructor for a pivot
Parameters:
Name Type(s) Description Default value style Optional Style the style to use (nil will use the default level style) level_style
Returns:
- 🔗 PseudoGame.game.Pivot:update ()
- update the pivots shape and color