Difference between revisions of "MakeCoin"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 5: Line 5:
 
Coin style corresponds to the coin value:
 
Coin style corresponds to the coin value:
 
Style = Value
 
Style = Value
 
 
0 = 1
 
0 = 1
 
 
1 = 5
 
1 = 5
  

Revision as of 10:37, 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 )