Source

HI-2DRTSSGMDDPP1 / GameProgram / GameProgram / Party.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace GameProgram
{
  public class Party : GameEntity
  {
    private List<Region> regions = new List<Region>();

    public Party( Planet startingPLanet)
    {

    }

    public Party()
    {
      // TODO: Complete member initialization
    }

    public PartyGameEntity Entity
    {
      get
      {
        throw new System.NotImplementedException();
      }
      set
      {
      }
    }

    internal void settlePlanet( Planet startingPlanet )
    {
      RegionFactory regionFactory = new RegionFactory();

      Region startingRegion = regionFactory.createRegion( this, startingPlanet);

      regions.Add( startingRegion );
    }

    public override List<VisableGameEntity> getChildVisableGameEntities()
    {
      return new List<VisableGameEntity>();
    }

    public override void update( GameTime gameTime )
    {
    }
  }
}