Beispiel #1
0
        static public string ReadLine()
        {
#if DEBUG
            string tmp = DummyInput.ReadLine();
#else
            string tmp = Console.ReadLine();
            debug("commandInputs.Add(\"" + tmp + "\");");
#endif

            return(tmp);
        }
Beispiel #2
0
 private void Start()
 {
     if (charSettings.isDummy)
     {
         charInput = new DummyInput();
     }
     else
     {
         charInput = new PlayerInput(playerNumber);
     }
     charActions = new CharacterActions(charInput, rb, charSettings, charState, charAnimations);
 }