Esempio n. 1
0
 public PlayerEntity(string username) : base()
 {
     Username = username;
     Food = 20;
     Inventory = new InventoryWindow();
     Abilities = new PlayerAbilities(this);
     SelectedSlot = InventoryWindow.HotbarIndex;
 }
Esempio n. 2
0
 public PlayerEntity(string username) : base()
 {
     Username     = username;
     Food         = 20;
     Inventory    = new InventoryWindow();
     Abilities    = new PlayerAbilities(this);
     SelectedSlot = InventoryWindow.HotbarIndex;
 }