コード例 #1
0
 public override void Draw(GameTime gameTime)
 {
     foreach (Entity item in Entities)
     {
         item.Draw(Window);
     }
     DebugSimulationData.DrawData(this);
 }
コード例 #2
0
        public override void Initialize()
        {
            //Set house
            Entities.Add(new House(new Vector2f(Window.Size.X - 10, Window.Size.Y / 2)));
            DebugSimulationData.LoadContent();

            SetFood();
            SetAnimals();
            SimulationData = new List <GenerationData>();
        }