using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; namespace DW.Data.GameObjects { /// /// Abstract GameObject class, used for shared attributes between gameobjects /// public class GameObject { /// /// Constructor for the GameObjects, subclasses need to call base /// public GameObject() { } /// /// Initializes the GameObjects, can be overridden /// public virtual void Initialize() { } /// /// Loads the content for the GameObjects, can be overridden /// public virtual void LoadContent() { } /// /// Updates the GameObjects, can be overridden /// public virtual void Update(GameTime gameTime) { } /// /// Draws the GameObjects, can be overridden /// public virtual void Draw(GameTime gameTime) { } /// /// Disposes of the specified GameObject, can be overridden /// public virtual void UnloadContent() { } } }