예제 #1
0
 public Enemy(int moverId, Vector2 pos,
     Vector2 wSize, int hp, float resize)
 {
     mover = SetMover(moverId);
     position = pos;
     windowSize = wSize;
     playerPosition = Vector2.Zero;
     health = hp;
     resizeRatio = resize;
 }
예제 #2
0
 public Boss(int moverId, Texture2D tex, Vector2 pos, Vector2 cSize,
             Vector2 wSize, int hp, float resize)
 {
     mover = SetMover(moverId);
     texture = tex;
     position = pos;
     characterSize = cSize;
     windowSize = wSize;
     playerPosition = Vector2.Zero;
     health = hp;
     resizeRatio = resize;
 }