]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php
Several fixes for older tests
[shipsimu.git] / application / ship-simu / main / structures / extended / cabines / ship / class_EconomyCabin.php
index 52cf199fffafd2c9d42cea517b0a1f0404aa26d9..d95cc979cdaa43716ceed87f557281d57188570a 100644 (file)
@@ -21,7 +21,7 @@
  * 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
@@ -46,7 +46,7 @@ class EconomyCabin extends BaseCabin implements ItemIsTradeable, ConstructableSh
        }
 
        // 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();