Example #1
0
        public void Shoot(XNA.Framework.Vector2 direction)
        {
            AGameEvent shootGameEvent = new ObjectShootEvent(direction, null, 0);

            AddClientGameEvent(shootGameEvent);
        }
Example #2
0
 static public Microsoft.Xna.Framework.Vector2 XnaLite2Xna(XNA.Framework.Vector2 v)
 {
     return(new Microsoft.Xna.Framework.Vector2(v.X, v.Y));
 }
Example #3
0
        public void Move(XNA.Framework.Vector2 direction)
        {
            AGameEvent moveGameEvent = new ObjectDirectionChanged(direction, null, 0);

            AddClientGameEvent(moveGameEvent);
        }