using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using System; public class GameWorld : GameObjectList { public Random random; public ResourceManager resourceManager; public GameWorld(ContentManager Content) : base() { resourceManager = new ResourceManager(Content); random = new Random(); } public Random Random { get { return random; } } public ResourceManager ResourceManager { get { return resourceManager; } } public void HandleInput(InputHelper inputHelper) { this.HandleInput(inputHelper, this); } public void Update(GameTime gameTime) { this.Update(gameTime, this); } }