* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class EconomyCabin extends BaseCabin implements ItemIsTradeable, ConstructableShipPart {
+class EconomyCabin extends BaseCabin implements TradeableItem, ConstructableShipPart {
// Konstruktor
private function __construct () {
// Call parent constructor
}
// Economy-Kabine erstellen
- public static function createEconomyCabin ($numLuxury, $numRooms, $numBeds, $dim) {
+ public final static function createEconomyCabin ($numLuxury, $numRooms, $numBeds, $dim) {
// Get new instance
$ecoInstance = new EconomyCabin();