]> git.r.bdr.sh - rbdr/super-polarity/blobdiff - SuperPolarity/Actors/Actor.cs
Move some files around, relink
[rbdr/super-polarity] / SuperPolarity / Actors / Actor.cs
index 3bb06beeedcae39694d87fb4f1e78357dddd9b9e..5e7e482781af182d63aaeefb813970bae1945dc1 100644 (file)
@@ -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<Actor>();
 
             Origin = new Vector2(Texture.Width / 2, Texture.Height / 2);