Ejemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Reax game = new Reax())
     {
         game.Run();
     }
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 public Player(Vector2 position, float speed, String name, Reax game)
     : base(position, speed, name, game)
 {
 }
Ejemplo n.º 4
0
 public Entities(Reax game)
 {
     this.game = game;
 }