Example #1
0
 public BuildingAction(CommonBuildingAction common, int n)
 {
     Common    = common;
     KeySprite = DefaultKeysSprites[n];
     KeyName   = DefaultKeyNames[n];
 }
Example #2
0
 public BuildingAction(Sprite sprite, string keyName, CommonBuildingAction common)
 {
     Common    = common;
     KeySprite = sprite;
     KeyName   = keyName;
 }