Пример #1
0
 public Enemy(Vector2 pos, EnemyType type, GameplayState gs)
 {
     Position  = pos;
     Type      = type;
     GoldValue = 0;
     Damage    = type.Match(
         star: () => 20
         );
 }