예제 #1
0
파일: Program.cs 프로젝트: RightLegRed/Reax
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Reax game = new Reax())
     {
         game.Run();
     }
 }
예제 #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;
 }
예제 #3
0
파일: Player.cs 프로젝트: RightLegRed/Reax
 public Player(Vector2 position, float speed, String name, Reax game)
     : base(position, speed, name, game)
 {
 }
예제 #4
0
 public Entities(Reax game)
 {
     this.game = game;
 }