CWormParams

From Project X Wiki
Revision as of 11:29, 30 December 2009 by Entuser (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Up one category:
CWorm

This structure describes some parameters for making a worm.

You should initialize it with two calls :

SetName(string Name);

and

void SetPosition(int health, int x, int y, bool HavePos);

For example :

CWormParams params;
params.SetName("Newbie");
params.SetPosition(100, 0, 0, true);