Ejemplo n.º 1
0
 public Player(Game game)
     : base(game)
 {
     animation = new Animation(game);
     location = new Vector2(300,0);
     hitPoints = 100;
 }
Ejemplo n.º 2
0
 public SceneObject(Game game, Vector2 location, float z, int hitPoints, Rectangle collisionRectangle, double collisionDepth, Animation animation)
     : this(game)
 {
     this.location = location;
     this.z = z;
     this.hitPoints = hitPoints;
     this.collisionRectangle = collisionRectangle;
     this.collisionDepth = collisionDepth;
     this.animation = animation;
 }