Add distance announcement with y
This commit is contained in:
Binary file not shown.
@@ -189,6 +189,11 @@ namespace EvilSatellites.Screens
|
|||||||
_player.PlayTap();
|
_player.PlayTap();
|
||||||
Tolk.Output(_player.CurrentWeapon.RemainingAmmo.ToString() + " rounds", true);
|
Tolk.Output(_player.CurrentWeapon.RemainingAmmo.ToString() + " rounds", true);
|
||||||
}
|
}
|
||||||
|
if (Input.IsJustPressed(Keys.Y))
|
||||||
|
{
|
||||||
|
_player.PlayTap();
|
||||||
|
if (ObjectRadar.Target != null) Tolk.Output(Vector3.Distance(_player.Position, ObjectRadar.Target.Position).ToString() + " units", true);
|
||||||
|
}
|
||||||
if (Input.IsJustPressed(Keys.O))
|
if (Input.IsJustPressed(Keys.O))
|
||||||
{
|
{
|
||||||
DavyKager.Tolk.Output(Objects.Count.ToString());
|
DavyKager.Tolk.Output(Objects.Count.ToString());
|
||||||
|
|||||||
Reference in New Issue
Block a user