Difference between revisions of "MakeCoin"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) |
Shadlington (Talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
Coin style corresponds to the coin value: | Coin style corresponds to the coin value: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | Style = Value<br> | ||
+ | 0 = 1<br> | ||
+ | 1 = 5<br> | ||
+ | 2 = 10<br> | ||
+ | 3 = 20<br> | ||
+ | 4 = 50<br> | ||
5 = 100 | 5 = 100 | ||
<syntaxhighlight lang="cpp">void MakeCoin( Vec2f pos, Vec2f vel, int style )</syntaxhighlight> | <syntaxhighlight lang="cpp">void MakeCoin( Vec2f pos, Vec2f vel, int style )</syntaxhighlight> |
Latest revision as of 10:38, 10 September 2012
Creates a coin with a given position on-screen, velocity and a style.
Coin style corresponds to the coin value:
Style = Value
0 = 1
1 = 5
2 = 10
3 = 20
4 = 50
5 = 100
void MakeCoin( Vec2f pos, Vec2f vel, int style )