/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Reax game = new Reax()) { game.Run(); } }
public LivingEntity(Vector2 position, float speed, String name, Reax game) { this.position = position; this.speed = speed; this.name = name; this.world = game.getWorld(); body = BodyFactory.CreateRectangle(world, 5, 5, 5); body.BodyType = BodyType.Dynamic; body.Mass = 1; body.Enabled = true; }
public Player(Vector2 position, float speed, String name, Reax game) : base(position, speed, name, game) { }
public Entities(Reax game) { this.game = game; }