1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00
XNI/Classes/Retronator/Xni/Framework/DrawableGameComponent.h
Matej Jan d04d7bf8f3 All around update and fixes
git-svn-id: http://xni.googlecode.com/svn/XNI@104 ac433895-eea3-a490-d80a-17149a75e588
2012-05-14 08:40:49 +00:00

36 lines
687 B
Objective-C

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