Source/Bit.h
changeset 13 db7bb080c3d5
parent 11 436cbdf56810
child 16 28392c9a969f
     1.1 --- a/Source/Bit.h	Sat Jul 05 17:46:43 2008 -0700
     1.2 +++ b/Source/Bit.h	Tue Jul 08 13:12:01 2008 -0700
     1.3 @@ -47,6 +47,7 @@
     1.4      CGSize _restingShadowOffset;
     1.5      BOOL _pickedUp;
     1.6      Player *_owner;     // Player that owns this Bit
     1.7 +    NSInteger _tag;
     1.8  }
     1.9  
    1.10  /** Conveniences for getting/setting the layer's scale and rotation */
    1.11 @@ -66,6 +67,9 @@
    1.12  @property (readonly, getter=isFriendly)   BOOL friendly;
    1.13  @property (readonly, getter=isUnfriendly) BOOL unfriendly;
    1.14  
    1.15 +/** An uninterpreted integer that the Game can use for its own purposes. */
    1.16 +@property NSInteger tag;
    1.17 +
    1.18  /** Removes this Bit while running a explosion/fade-out animation */
    1.19  - (void) destroy;
    1.20