Example #1
0
 public Key(Texture2D spriteSheet,
            Keytype type)
     : base(spriteSheet)
 {
     _type                  = type;
     _itemCategory          = ItemType.Key;
     _tickToUpdatePerSecond = 4;
 }
Example #2
0
 public Key(Texture2D spriteSheet,
            Keytype type)
     : base(spriteSheet)
 {
     _type  = type;
     _score = 3000 + 1000 * (int)_type;
     _tickToUpdatePerSecond = 4;
 }