Пример #1
0
 public EventAsteroid(Game1 Game, Sprite spriteSheet, Vector2 coordinates, String name, OverworldEventType overworldEvent) :
     base(Game, spriteSheet, coordinates)
 {
     this.name           = name;
     this.overworldEvent = EventGenerator.GetAsteroidEventOfType(Game, overworldEvent);
 }
Пример #2
0
 public EventAsteroid(Game1 Game, Sprite spriteSheet, Vector2 coordinates, String name) :
     base(Game, spriteSheet, coordinates)
 {
     this.name      = name;
     overworldEvent = EventGenerator.GetRandomCommonEvent(Game);
 }