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