Renaming UnitDelegate.h.
authorchsieh <chester.developer@hotmail.com>
Tue, 17 May 2011 05:07:59 +0000 (22:07 -0700)
committerchsieh <chester.developer@hotmail.com>
Tue, 17 May 2011 05:07:59 +0000 (22:07 -0700)
src/game/actor/QQUnit.h
src/game/actor/QQUnitDelegate.h [moved from src/game/actor/UnitDelegate.h with 61% similarity]
tanks.xcodeproj/project.pbxproj

index 97c9b68..2ffade5 100644 (file)
@@ -3,7 +3,7 @@
 #import "render/QQSparrowExtensions.h"
 
 #import "game/actor/QQActor.h"
-#import "game/actor/UnitDelegate.h"
+#import "game/actor/QQUnitDelegate.h"
 
 #import "physics/QQWorld.h"
 
 @interface QQUnit : QQActor {
 
 @private
-    SPDisplayObject*  _shape;
-    id <UnitDelegate> _delegate;
+    SPDisplayObject* _shape;
+    id <QQUnitDelegate> _delegate;
 }
 
 ////////////////////////////////////////////////////////////////////////////////////
 @property (nonatomic, retain, readwrite) SPDisplayObject* shape;
-@property (nonatomic, retain, readwrite) id <UnitDelegate> delegate;
+@property (nonatomic, retain, readwrite) id <QQUnitDelegate> delegate;
 
 ////////////////////////////////////////////////////////////////////////////////////
 - (id) initWithFile:(NSString*)fileName atX:(float)x y:(float)y;
similarity index 61%
rename from src/game/actor/UnitDelegate.h
rename to src/game/actor/QQUnitDelegate.h
index 74e2d1a..f41c05e 100644 (file)
@@ -1,3 +1,3 @@
-@protocol UnitDelegate
+@protocol QQUnitDelegate
 -(void)updateWithTick:(float)time;
 @end
index 9629bf1..94a5de6 100644 (file)
                49F2DADD13764ED6000B6B8C /* SPUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 49F2DA8013764ED6000B6B8C /* SPUtils.h */; };
                49F2DADE13764ED6000B6B8C /* SPUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 49F2DA8113764ED6000B6B8C /* SPUtils.m */; };
                49F2DADF13764ED6000B6B8C /* Sparrow.h in Headers */ = {isa = PBXBuildFile; fileRef = 49F2DA1D13764ED5000B6B8C /* Sparrow.h */; };
-               4B609D3213822FC700B02CE7 /* UnitDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 4B609D3113822FC700B02CE7 /* UnitDelegate.h */; };
+               4B65630C138239F1001AEF76 /* QQUnitDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 4B65630B138239F1001AEF76 /* QQUnitDelegate.h */; };
                4B8B2A50137D098500CA4076 /* QQAnimationContainer.h in Headers */ = {isa = PBXBuildFile; fileRef = 4B8B2A4E137D098500CA4076 /* QQAnimationContainer.h */; };
                4B8B2A51137D098500CA4076 /* QQAnimationContainer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4B8B2A4F137D098500CA4076 /* QQAnimationContainer.mm */; };
 /* End PBXBuildFile section */
                49F2DA7F13764ED6000B6B8C /* SPPoolObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPPoolObject.m; sourceTree = "<group>"; };
                49F2DA8013764ED6000B6B8C /* SPUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPUtils.h; sourceTree = "<group>"; };
                49F2DA8113764ED6000B6B8C /* SPUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPUtils.m; sourceTree = "<group>"; };
-               4B609D3113822FC700B02CE7 /* UnitDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UnitDelegate.h; sourceTree = "<group>"; };
+               4B65630B138239F1001AEF76 /* QQUnitDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QQUnitDelegate.h; sourceTree = "<group>"; };
                4B8B2A4E137D098500CA4076 /* QQAnimationContainer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = QQAnimationContainer.h; path = animation/QQAnimationContainer.h; sourceTree = "<group>"; };
                4B8B2A4F137D098500CA4076 /* QQAnimationContainer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = QQAnimationContainer.mm; path = animation/QQAnimationContainer.mm; sourceTree = "<group>"; };
 /* End PBXFileReference section */
                49E8349F13812427007A6598 /* actor */ = {
                        isa = PBXGroup;
                        children = (
-                               4B609D3113822FC700B02CE7 /* UnitDelegate.h */,
+                               4B65630B138239F1001AEF76 /* QQUnitDelegate.h */,
                                49E834A013812427007A6598 /* QQActor.h */,
                                49E834A113812427007A6598 /* QQActor.mm */,
                                49E834A213812427007A6598 /* QQUnit.h */,
                                49E834C613812555007A6598 /* QQViewport.h in Headers */,
                                49E834CD13814F7D007A6598 /* QQGLESDebugDraw.h in Headers */,
                                49E834D3138166A6007A6598 /* QQSparrowExtensions.h in Headers */,
-                               4B609D3213822FC700B02CE7 /* UnitDelegate.h in Headers */,
+                               4B65630C138239F1001AEF76 /* QQUnitDelegate.h in Headers */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };