aboutsummaryrefslogtreecommitdiff
path: root/SuperPolarity/Actors/Actor.cs
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2014-05-31 11:24:29 -0500
committerBen Beltran <ben@nsovocal.com>2014-05-31 11:24:29 -0500
commit8bdfcb11a2c1023c684093c0f19f3cc65799e0f8 (patch)
tree7f46b5f9c2d6df58d718bff6b0569a4f19880678 /SuperPolarity/Actors/Actor.cs
parent078dd693a22cc6793cf6f0f64820369cc606edf6 (diff)
Move some files around, relink
Diffstat (limited to 'SuperPolarity/Actors/Actor.cs')
-rw-r--r--SuperPolarity/Actors/Actor.cs5
1 files changed, 4 insertions, 1 deletions
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<Actor>();
Origin = new Vector2(Texture.Width / 2, Texture.Height / 2);