Shooting satellites works

This commit is contained in:
2021-04-11 18:42:22 +02:00
parent 2f7759d190
commit c989202d93
10 changed files with 116 additions and 13 deletions
+3 -1
View File
@@ -18,13 +18,15 @@ namespace EvilSatellites.Objects
public IWeapon CurrentWeapon;
public Player(IScreen screen): base(screen)
{
ShouldDestroy = false;
Active = true;
Type = ObjectType.Player;
Position = new Vector3(10, 0, 0);
Dimensions = new Vector3(5, 5, 5);
Movement = new Vector3(0, 0, 0);
Rotation = Matrix.Identity;
Orientation = Rotation.Forward;
CurrentWeapon = new LaserMG(this, Screen);
CurrentWeapon = new LaserMG(this, (GameScreen)Screen);
Activate();
}