mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-26 00:45:20 +00:00
fireballs killing zombies and stuff
This commit is contained in:
@@ -65,7 +65,7 @@ namespace JamGame.Systems
|
||||
|
||||
if (_spawningFireball != null && _previousKeyboardState.IsKeyDown(Keys.Space) && _mainGame.KeyboardState.IsKeyUp(Keys.Space))
|
||||
{
|
||||
_spawningFireball.Get<Body>().Velocity = new Vector2(100, 0);
|
||||
_spawningFireball.Get<Body>().Velocity = new Vector2(200, 0);
|
||||
_spawningFireball = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user