Take and replenish health and ammo
This commit is contained in:
@@ -179,7 +179,16 @@ namespace EvilSatellites.Screens
|
||||
Tolk.Output("Satellites");
|
||||
}
|
||||
}
|
||||
|
||||
if (Input.IsJustPressed(Keys.H))
|
||||
{
|
||||
_player.PlayTap();
|
||||
Tolk.Output(_player.Health.ToString() + " health", true);
|
||||
}
|
||||
if (Input.IsJustPressed(Keys.X))
|
||||
{
|
||||
_player.PlayTap();
|
||||
Tolk.Output(_player.CurrentWeapon.RemainingAmmo.ToString() + " rounds", true);
|
||||
}
|
||||
if (Input.IsJustPressed(Keys.O))
|
||||
{
|
||||
DavyKager.Tolk.Output(Objects.Count.ToString());
|
||||
|
||||
Reference in New Issue
Block a user