public void findShortCutMethod(Key k)
        {
            PlayerProperty p = shortCutList.findShortCutMethod(k);

            if (p != null)
            {
                switch (p.name)
                {
                case "advanceTime":
                    parentUser.advanceTime();
                    break;

                case "backTime":
                    parentUser.backTime();
                    break;
                }
            }
        }
Beispiel #2
0
 public void addPropertyShortcut(PlayerProperty p)
 {
     listaKeyEvents.Add(p);
 }