Tramway SDK
|
Menu base interface class. More...
Menu base interface class.
To implement this interface, implement the Display() method. This method will be called once per frame and needs to draw the menu. Then implement the Layer() method. This method needs to return the layer index of the menu.
The menu framework will draw only the topmost menu in the menu stack with any given index.
When you are ready to deploy a menu, create it using new
and Push() it on the stack. After that, you can forget it. When it gets popped from the stack, it will be delete
d for you.