Project Hoshimi Documented Class Library
Build Method (type, internalName)
NamespacesPH.CommonAIBuild(Type, String)
Use this method if you want your AI build another bot
Declaration Syntax
C#Visual BasicVisual C++
public bool Build(
	Type type,
	string internalName
)
Public Function Build ( _
	type As Type, _
	internalName As String _
) As Boolean
public:
bool Build(
	Type^ type, 
	String^ internalName
)
Parameters
type (Type)
Type of the bot to build. Must be in your assembly and inherit bot. You set also the InternalName of the bot that will be created.
internalName (String)
Return Value
True if AI is WaitingOrders. bot will be build next turn
Remarks
If in the next turn, there is too many bots in the game, the bot will not be added (and you'll loose one turn thinking for nothing). If you build a bot that inherit Neddle or Blocker, bot will be created at the position of your AI. Otherwise, it will becreated in the LandingPoint.

Assembly: PH.Common (Module: PH.Common) Version: 6.0.0.0