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