// // DrawableGameComponent.h // XNI // // Created by Matej Jan on 12.10.10. // Copyright 2010 Retronator. All rights reserved. // #import #import "Retronator.Xni.Framework.Graphics.classes.h" #import "GameComponent.h" #import "IDrawable.h" @interface DrawableGameComponent : GameComponent { @private BOOL visible; int drawOrder; Event *visibleChanged; Event *drawOrderChanged; id graphicsDeviceService; BOOL contentLoaded; } @property (nonatomic, readonly) GraphicsDevice* graphicsDevice; - (void) loadContent; - (void) unloadContent; - (void) onVisibleChanged; - (void) onDrawOrderChanged; @end