Difference between revisions of "CreateBlob"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 1: Line 1:
[wk] CBlob@ CreateBlob( const string &in, const string &in, u16 team, Vec2f Position )[/wk]
+
<onlyinclude>
 +
CreateBlob will create a blob with the given name (not particularly important, I think?) and the given path to a config file defining the blob.
 +
It will return a reference to the blob.
 +
</onlyinclude>
  
 +
There are two variants, one of which will also accept a team number and position vector.
  
CBlob@ CreateBlob( const string &in, const string &in )
+
<code>CBlob@ CreateBlob( const string &factoryName, const string &configFilename, u16 team, Vec2f Position )</code>
 +
 
 +
 
 +
[pre]CBlob@ CreateBlob( const string &factoryName, const string &configFilename )[/pre]

Revision as of 20:18, 12 August 2012

CreateBlob will create a blob with the given name (not particularly important, I think?) and the given path to a config file defining the blob. It will return a reference to the blob.


There are two variants, one of which will also accept a team number and position vector.

CBlob@ CreateBlob( const string &factoryName, const string &configFilename, u16 team, Vec2f Position )


[pre]CBlob@ CreateBlob( const string &factoryName, const string &configFilename )[/pre]