Author: antti
Date: 2007-01-05 17:27:46 -0500 (Fri, 05 Jan 2007)
New Revision: 70563

Modified:
   trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/DrawableGameComponent.cs
Log:
Bringing the class up to date. Stubbing still in progress.


Modified: 
trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/DrawableGameComponent.cs
===================================================================
--- trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/DrawableGameComponent.cs    
2007-01-05 22:15:31 UTC (rev 70562)
+++ trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/DrawableGameComponent.cs    
2007-01-05 22:27:46 UTC (rev 70563)
@@ -25,36 +25,93 @@
 */
 #endregion License
 
-using Microsoft.Xna.Framework.Graphics;
 using System;
 
+using Microsoft.Xna.Framework.Graphics;
+
 namespace Microsoft.Xna.Framework
 {
-    
-    public class DrawableGameComponent : GameComponent, IDrawable
-    {
-        
-        public DrawableGameComponent(Game game){ throw new 
NotImplementedException(); }
+       public class DrawableGameComponent : GameComponent, IDrawable
+       {
+               #region Public Constructors
 
-        
-        public int DrawOrder { get{ throw new NotImplementedException(); } 
set{ throw new NotImplementedException(); } }
-        
-        protected GraphicsDevice GraphicsDevice { get{ throw new 
NotImplementedException(); } }
-        
-        public bool Visible { get{ throw new NotImplementedException(); } set{ 
throw new NotImplementedException(); } }
+               public DrawableGameComponent(Game game)
+               {
+                       throw new NotImplementedException();
+               }
 
-        
-        public event EventHandler DrawOrderChanged;
+               #endregion Public Constructors
+               
+               #region Public Destructors
+               
+               public ~DrawableGameComponent()
+               {
+                       throw new NotImplementedException();
+               }
+               
+               #endregion Public Destructors
 
-        public event EventHandler VisibleChanged;
+               #region Private Fields
+               
+               private int drawOrder;
+               private bool visible;
+               
+               #endregion Private Fields
 
+               #region Public Properties
+
+               public int DrawOrder
+               {
+                       get {
+                               return drawOrder;
+                       }
+                       set {
+                               drawOrder = value;
+                       }
+               }
+               
+               public bool Visible
+               {
+                       get {
+                               return visible;
+                       }
+                       set {
+                               visible = value;
+                       }
+               }
+
+               #endregion Public Properties
+               
+               #region Protected Properties
+               
+               protected GraphicsDevice GraphicsDevice
+               {
+                       get {
+                               throw new NotImplementedException();
+                       }
+               }
+               
+               #endregion Protected Properties
+               
+               #region Public Methods
+               
+               
+               
+               #endregion Public Methods
+               
+               #region Protected Methods
+               
+               protected override void Dispose(bool disposing)
+               {
+                       throw new NotImplementedException();
+               }
+               
+               #endregion Protected Methods
+       }
+}
+
+lize(){ throw new NotImplementedException(); }
         
-        protected override void Dispose(bool disposing){ throw new 
NotImplementedException(); }
-        
-        public virtual void Draw(GameTime gameTime){ throw new 
NotImplementedException(); }
-        
-        public void Initialize(){ throw new NotImplementedException(); }
-        
         protected virtual void LoadGraphicsContent(bool loadAllContent){ throw 
new NotImplementedException(); }
         
         protected virtual void OnDrawOrderChanged(object sender, EventArgs 
args){ throw new NotImplementedException(); }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to