riversong code showcase
This commit is contained in:
17
Source/Riversong/Game/UI/Panels/BuildMenu/BuildMenuModel.cs
Normal file
17
Source/Riversong/Game/UI/Panels/BuildMenu/BuildMenuModel.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace DanieleMarotta.RiversongCodeShowcase
|
||||
{
|
||||
public class BuildMenuModel : UIModel
|
||||
{
|
||||
private BuildingDefinition _selectedBuilding;
|
||||
|
||||
public List<BuildMenuBuildingModel> Buildings { get; } = new();
|
||||
|
||||
public BuildingDefinition SelectedBuilding
|
||||
{
|
||||
get => _selectedBuilding;
|
||||
set => SetProperty(ref _selectedBuilding, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user