Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
op2_sdk:setting_resources [2016/10/12 21:32] – external edit 127.0.0.1 | op2_sdk:setting_resources [2016/11/04 17:54] (current) – vagabond | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Related Source Code ===== | ===== Related Source Code ===== | ||
- | // | + | // |
<code cpp> | <code cpp> | ||
- | Stub | + | class OP2 _Player |
+ | { | ||
+ | public: | ||
+ | ... | ||
+ | void SetKids(int numKids); | ||
+ | void SetWorkers(int numWorkers); | ||
+ | void SetScientists(int numScientists); | ||
+ | |||
+ | void SetOre(int newCommonOre); | ||
+ | void SetRareOre(int newRareOre); | ||
+ | void SetFoodStored(int newFoodStored); | ||
+ | |||
+ | void SetSolarSat(int numSolarSatellites); | ||
+ | ... | ||
+ | } | ||
</ | </ | ||
Line 46: | Line 60: | ||
---- | ---- | ||
- //Go Back to [[op2_sdk: | - //Go Back to [[op2_sdk: | ||
- | - //Go Back to [[op2_sdk: | + | - //Go Back to [[op2_sdk: |
- //Go Back to [[outpost_2: | - //Go Back to [[outpost_2: | ||
- //Go Back to [[http:// | - //Go Back to [[http:// |