KPage
Models a page inside a paging KInventory
Author
Devin
Since
1.0.0
See also
Inheritors
Properties
All animations Identifier maps to the animation
Content of the container
The current animation if one is running
The footer will only be rendered, if the inventory is at least 2 rows long, and has no header, or is 3 rows long
The header will only be rendered, if the inventory is at least 2 rows long, and has no footer, or is 3 rows long
Animation played as soon as the page is opened
Parent inventory if the page is set in it
Functions
Adds the animation
Clears the inventory from all items inside it
Called by the parent inventory, when the page is closed
Whether the object is currently inside an animation
Hook called when the page is closed, either when the page is clicked away, or the inventory is closed when the page is active
Hook called when the page is opened, either when the page is clicked to, or it's the first page of the parent inventory
Called by the parent inventory, when the page is opened
Starts the given animation, but will not save it
Starts the animation with the given identifier