class_MaschineRoom.php

Go to the documentation of this file.
00001 <?php
00024 class MaschineRoom extends BaseShipPart {
00025         // Constructor
00026         protected function __construct () {
00027                 // Call parent constructor
00028                 parent::__construct(__CLASS__);
00029 
00030                 // Clean up a little
00031                 $this->removeSystemArray();
00032                 $this->removeNumberFormaters();
00033         }
00034 
00035         // Maschinenraum erstellen
00036         public final static function createMaschineRoom () {
00037                 // Get new instance
00038                 $roomInstance = new MaschineRoom();
00039 
00040                 // Umrechnungsfaktoren setzen
00041                 $roomInstance->setResizeFactorElement('width' , 1.3);
00042                 $roomInstance->setResizeFactorElement('height', 1.8);
00043                 $roomInstance->setResizeFactorElement('length', 1.3);
00044 
00045                 // Instanz zurueckgeben
00046                 return $roomInstance;
00047         }
00048 }
00049 
00050 // [EOF]
00051 ?>

Generated on Mon Dec 8 01:06:44 2008 for Ship-Simulator by  doxygen 1.5.6