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
+5 -1
View File
@@ -24,7 +24,7 @@ namespace EvilSatellites.Objects
public Vector3 Movement;
private Vector3 _Orientation;
public Vector3 Orientation
{
{
get => _Orientation;
set => _Orientation = value;
}
@@ -38,10 +38,14 @@ namespace EvilSatellites.Objects
public IScreen Screen;
public ObjectType Type { get; set; }
public bool IsDynamic { get => true; }
public bool ShouldDestroy { get; set; }
public bool Active { get; set; }
public AbstractGameObject(IScreen screen)
{
Screen = screen;
Type = ObjectType.Generic;
ShouldDestroy = false;
}
public void RotateX(float angle)