View buildsystem
Initial working version of the building placement system. What works:
- Selection of buildings from in-game ui
- In-engine configuration of buildings (via scriptableobjects)
- Automatic generation of buttons for each building based on configuration files (scriptable objects)
- Positioning and orienting of buildings. (A transparent version of the building is displayed at the selected position with the selected orientaiton)
- Displaying whether a building is allowed to be placed at a given position with ha given orientation or not. (checked by model)
- Placing buildings and setting references to corresponding objects in model. (Only IDisplayable for now)
- Camera movement
What does NOT work (yet):
- Denial of building placement if the player does not have enough money
- Player's money is not displayed at all
- The panel for displaying detailed information about each building prior placement is just a dummy.
- IInspectable references are not set yet as the model currently returns a null
- maybe something else I forgot