|
Brunot
|
Menu Position is a component that simply stores where in a menu an item/entity is. More...
Functions | |
| auto | to_json (json &j, const MenuPosition &n) ->void |
| auto | from_json (const json &j, MenuPosition &n) ->void |
Menu Position is a component that simply stores where in a menu an item/entity is.
It is intended to be called by Menu.
Should only be comprised of getters and setters for x and y. If more functionality is needed, it likely should be done in Menu instead.
| auto from_json | ( | const json & | j, |
| MenuPosition & | n )->void |
| auto to_json | ( | json & | j, |
| const MenuPosition & | n )->void |