title: c, obj c enum without tag or identifier
body: <p>im learning cocos2d [open gl wrapper for objective C on iPhone], and now playing with sprites have found this in a example,</p>
  
  <pre><code> enum {  
  easySprite =   0x0000000a,
  mediumSprite = 0x0000000b,
  hardSprite =   0x0000000c,
  backButton =   0x0000000d,
  magneticSprite = 0x0000000e,
  magneticSprite2 = 0x0000000f
  };
  </code></pre>
  
  <p>...</p>
  
  <pre><code> -(id) init
   {...
    /second sprite
      TSprite *med = [TSprite spriteWithFile:@"butonB.png"]; //blue
      [med SetCanTrack:YES];
      [self addChild: med z:1 tag:mediumSprite];
      med.position=ccp(299,230);
      [TSprite track:med];
  </code></pre>
  
  <p>so the variable defined in the enum is used in the tag name of the created sprite object,</p>
  
  <p>but i don understand</p>
  
  <ol>
  <li>why give values in hexa to the tags to use</li>
  <li>the enum with out tags</li>
  </ol>
  
  <p>as I knew this enum in obj C and C</p>
  
  <pre><code>     typedef enum {
       JPG,
       PNG,
        GIF,
       PVR
       } kImageType;
  </code></pre>
  
  <p>thanks!</p>