Scripting:CodeTranslation

From STNE Wiki

(Difference between revisions)
Jump to: navigation, search
(CColonieManager)
Line 1: Line 1:
-
== CColonieManager ==
+
== CColonieManager = CColonieManager ==
-
oldfunction = newfunction
+
   AlarmStufeÄndern(Stufe) = ChangeAlertStatus(Level)
-
Class CColonieManager : CBaseColonieManager
+
   BenutzeKolonie(KolonieID) = UsingColony (ColonyID)
-
  New  As CColonieManager = Colony Manager
+
   EinwanderungsGrenzeFestlegen(Grenze) = ChangePopulation(Max)
-
   Function AlarmStufeÄndern(Stufe As EAlarmStufe) (geerbt) = Function  Change Alert Status (inherited)
+
-
   Function BenutzeKolonie(KolonieID As Integer)= Function  Using Colony (Uses Colony ID)
+
-
   Function EinwanderungsGrenzeFestlegen(Grenze As Integer) (geerbt)= Function Change Population Max (inherited)
+
-
...
+
== CShipManager ==
== CShipManager ==

Revision as of 20:41, 4 August 2010

CColonieManager = CColonieManager

 AlarmStufeÄndern(Stufe) = ChangeAlertStatus(Level)
 BenutzeKolonie(KolonieID) = UsingColony (ColonyID)
 EinwanderungsGrenzeFestlegen(Grenze) = ChangePopulation(Max)

CShipManager

oldfunction = newfunction ...

CMyKolonie = CMyColony

Energie = Energy ...

Personal tools