/// <summary> /// Default constructor: /// Sets all the needed values to be a castle. Also creates the town that belongs to /// the castle. /// </summary> /// <param name="origo">pkt the castle should be placed at.</param> /// <param name="owner">Player that owns the castle.</param> public VikingCastle(Point origo, Player owner) : base(origo, shape, owner, LOCAL_SPRITE_ID, NAME, SPRITE_CATEGORY, environment) { Town = new VikingTown(owner, origo); // TODO: Fjern temp som bygger alle bygninger //Town.BuildAll(Town); // Builds Town Hall-type building that can build other buildings Town.Buildings[0].Build(); }
/// <summary> /// Default constructor: /// Sets all the needed values to be a castle. Also creates the town that belongs to /// the castle. /// </summary> /// <param name="origo">pkt the castle should be placed at.</param> /// <param name="owner">Player that owns the castle.</param> public UnknownCastle(Point origo, Player owner) : base(origo, shape, owner, LOCAL_SPRITE_ID, NAME, SPRITE_CATEGORY, environmentTileType) { Town = new VikingTown(owner, origo); }