MakeCoin

From King Arthur's Gold Wiki
Revision as of 11:38, 10 September 2012 by Shadlington (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 )