public void handleKeys(ConsoleKeyInfo keyPressed) { if (isPeeping) { Timing.AddActionTime(TimeCost.ContinuePeepCost(this)); ContinuePeep(keyPressed); return; } //MOVING/WAITING if (keyPressed.Key == ConsoleKey.NumPad5) //skip turn { Timing.AddActionTime(TimeCost.SkipTurnCost(this)); return; } KeyToVector.ProcessInput(keyPressed); if (KeyToVector.ProperButtonPressed) { MoveOrOpenOrAttack(KeyToVector.x, KeyToVector.y); } //ACTIONS if (keyPressed.Key == ConsoleKey.D1) { seeTheStats(); } if (keyPressed.Key == ConsoleKey.C) //close door { closeDoorDialogue(); } if (keyPressed.Key == ConsoleKey.D) //drop an item { Inv.DropDialogue(); } if (keyPressed.Key == ConsoleKey.F) //fire current weapon { shootDialogue(); } if (keyPressed.Key == ConsoleKey.G) //grab (pick up) an item { Inv.PickupDialogue(); } if (keyPressed.Key == ConsoleKey.I) //show inventory { Inv.ShowInventory(); } if (keyPressed.Key == ConsoleKey.P) //peep { peepDialogue(); } if (keyPressed.Key == ConsoleKey.S) //strangle { strangleDialogue(); } if (keyPressed.Key == ConsoleKey.W) //wield a weapon { Inv.WieldDialogue(); } if (keyPressed.Key == ConsoleKey.Q) //ready the ammo { Inv.ReadyAmmoDialogue(); } if (keyPressed.Key == ConsoleKey.R) //reload a gun { Inv.ReloadDialogue(); } //TODO! }