Project Hoshimi Documented Class Library
TransferTo Method (to, NTurn)
NamespacesPH.CommonCollectorTransferTo(Point, Int32)
Use this method to transfer OXY from your botCollector to a Needle
Declaration Syntax
C#Visual BasicVisual C++
public bool TransferTo(
	Point to,
	int NTurn
)
Public Function TransferTo ( _
	to As Point, _
	NTurn As Integer _
) As Boolean
public:
bool TransferTo(
	Point to, 
	int NTurn
)
Parameters
to (Point)
Point where must be located the Needle
NTurn (Int32)
Number of turn of the transfer
Return Value
Return always true if botCollector is WaitingOrders
Remarks
Next turn, the Game Engine will know that you want to transfer OXY from your Collector to a Needle. Game Engine will check if a Needle is in the location wanted and if so, if there is enought place in its container. Game Engine will also check if you are nearer than DistanceTransferDistance. If no, next turn, no transfer will occur and state of the botCollector will be set to WaitingOrders

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