예제 #1
0
 public void HandleInput(InputEvent e, Player p)
 {
     if (e is InputEventMouseButton iemb && InputUtil.IsRighPress(iemb))
     {
         // breaks encapsulation of Inventories in player, TODO: fix
         p.OpenGUI(new DefossiliserGUI(this, p, p.Inventories, p));
     }
 }