More game classes added:
[shipsimu.git] / application / ship-simu / main / class_
index 4e1385b6ecba96ac1e5ce90532f21262dfe14fb6..2d6541c3d4624b59394ffe2275517fb8c7d6b53f 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  extends BaseFrameworkSystem {
+class ??? extends BaseFrameworkSystem {
        /**
         * Protected constructor
         *
@@ -41,6 +41,23 @@ class  extends BaseFrameworkSystem {
                $this->removeNumberFormaters();
                $this->removeSystemArray();
        }
+
+       /**
+        * Creates an instance of this money bank class
+        *
+        * @param       $userInstance   A class instance of a user object
+        * @return      $bankInstance   An instance of this class
+        */
+       public final static function create??? (ManageableAccount $userInstance) {
+               // Get a new instance
+               $moneyInstance = new ???();
+
+               // Set the user instance
+               $moneyInstance->setUserInstance($userInstance);
+
+               // Return the prepared instance
+               return $moneyInstance;
+       }
 }
 
 // [EOF]