X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/078dd693a22cc6793cf6f0f64820369cc606edf6..8bdfcb11a2c1023c684093c0f19f3cc65799e0f8:/SuperPolarity/Actors/Actor.cs diff --git a/SuperPolarity/Actors/Actor.cs b/SuperPolarity/Actors/Actor.cs index 3bb06be..5e7e482 100644 --- a/SuperPolarity/Actors/Actor.cs +++ b/SuperPolarity/Actors/Actor.cs @@ -8,7 +8,7 @@ using Microsoft.Xna.Framework.Graphics; namespace SuperPolarity { - class Actor + public class Actor { protected SuperPolarity game; @@ -24,6 +24,7 @@ namespace SuperPolarity // Physical Properties public Vector2 Position; + public bool Collides; protected Vector2 Velocity; protected Vector2 Acceleration; public float Angle; @@ -64,6 +65,8 @@ namespace SuperPolarity Position = position; Active = true; + Collides = true; + Children = new List(); Origin = new Vector2(Texture.Width / 2, Texture.Height / 2);