From: chsieh Date: Tue, 17 May 2011 05:07:59 +0000 (-0700) Subject: Renaming UnitDelegate.h. X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=047c74afc8b20a13c4989f53042278c55cad053f;p=tanks-ios.git Renaming UnitDelegate.h. --- diff --git a/src/game/actor/QQUnit.h b/src/game/actor/QQUnit.h index 97c9b68..2ffade5 100644 --- a/src/game/actor/QQUnit.h +++ b/src/game/actor/QQUnit.h @@ -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" @@ -12,13 +12,13 @@ @interface QQUnit : QQActor { @private - SPDisplayObject* _shape; - id _delegate; + SPDisplayObject* _shape; + id _delegate; } //////////////////////////////////////////////////////////////////////////////////// @property (nonatomic, retain, readwrite) SPDisplayObject* shape; -@property (nonatomic, retain, readwrite) id delegate; +@property (nonatomic, retain, readwrite) id delegate; //////////////////////////////////////////////////////////////////////////////////// - (id) initWithFile:(NSString*)fileName atX:(float)x y:(float)y; diff --git a/src/game/actor/UnitDelegate.h b/src/game/actor/QQUnitDelegate.h similarity index 61% rename from src/game/actor/UnitDelegate.h rename to src/game/actor/QQUnitDelegate.h index 74e2d1a..f41c05e 100644 --- a/src/game/actor/UnitDelegate.h +++ b/src/game/actor/QQUnitDelegate.h @@ -1,3 +1,3 @@ -@protocol UnitDelegate +@protocol QQUnitDelegate -(void)updateWithTick:(float)time; @end diff --git a/tanks.xcodeproj/project.pbxproj b/tanks.xcodeproj/project.pbxproj index 9629bf1..94a5de6 100644 --- a/tanks.xcodeproj/project.pbxproj +++ b/tanks.xcodeproj/project.pbxproj @@ -139,7 +139,7 @@ 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 */ @@ -323,7 +323,7 @@ 49F2DA7F13764ED6000B6B8C /* SPPoolObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPPoolObject.m; sourceTree = ""; }; 49F2DA8013764ED6000B6B8C /* SPUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPUtils.h; sourceTree = ""; }; 49F2DA8113764ED6000B6B8C /* SPUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPUtils.m; sourceTree = ""; }; - 4B609D3113822FC700B02CE7 /* UnitDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UnitDelegate.h; sourceTree = ""; }; + 4B65630B138239F1001AEF76 /* QQUnitDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QQUnitDelegate.h; sourceTree = ""; }; 4B8B2A4E137D098500CA4076 /* QQAnimationContainer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = QQAnimationContainer.h; path = animation/QQAnimationContainer.h; sourceTree = ""; }; 4B8B2A4F137D098500CA4076 /* QQAnimationContainer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = QQAnimationContainer.mm; path = animation/QQAnimationContainer.mm; sourceTree = ""; }; /* End PBXFileReference section */ @@ -473,7 +473,7 @@ 49E8349F13812427007A6598 /* actor */ = { isa = PBXGroup; children = ( - 4B609D3113822FC700B02CE7 /* UnitDelegate.h */, + 4B65630B138239F1001AEF76 /* QQUnitDelegate.h */, 49E834A013812427007A6598 /* QQActor.h */, 49E834A113812427007A6598 /* QQActor.mm */, 49E834A213812427007A6598 /* QQUnit.h */, @@ -877,7 +877,7 @@ 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; };