1 #ifndef COMMON_UPGRADE_H_
2 #define COMMON_UPGRADE_H_
24 Upgrade(const char *name, Type type, int amount)
25 : name(name), type(type), amount(amount) { }
28 const char *Name() const { return name; }
29 Type GetType() const { return type; }
30 int Amount() const { return amount; }