Project Hoshimi Documented Class Library
Container Class
NamespacesPH.CommonContainer

Class representing a botContainer

Declaration Syntax
C#Visual BasicVisual C++
public class Container : Collector
Public Class Container _
	Inherits Collector
public ref class Container : public Collector
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Container()()()
BotInfo
Informations about the bot.
(Inherited from Bot.)
BotType
return the type of the bot.
(Inherited from Bot.)
CollectFrom(Point, Int32)
Use this method to collect OXY from a OXY Landing Point to your Collector.
(Inherited from Collector.)
CollectTransfertSpeed
Number of OXY transfered while collecting or transfering in one turn.
(Inherited from Bot.)
Constitution
Number of hit points of the bot when it is created.
(Inherited from Bot.)
ContainerCapacity
Maximum number of OXY this bot can carry
(Inherited from Bot.)
DefendTo(Point, Int32)
Use this method to defend a location
(Inherited from Defender.)
DefenseDistance
Maximum distance of a defense. If bot try to defend greater than this value, defense is not valid (and canceled)
(Inherited from Bot.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
ForceAutoDestruction()()()
Allow you to destroy your bot directly
(Inherited from Bot.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HitPoint
Number of hit points of the bot. If equal or less than 0, it is destroyed.
(Inherited from Bot.)
ID
Unique ID for this bot (you can identify it with this Guid)
(Inherited from Bot.)
InternalName
Name used by the Viewer to show the name of the bot
(Inherited from Bot.)
Location
Point on the map where is located the bot
(Inherited from Bot.)
MaxDamage
Maximum numbers of damage of defense in one turn. Number of damage is determined randomly by the Game Engine at each turn of a defense. This number is between 0 and MaxDamage.
(Inherited from Bot.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MoveTo(Point)
Use this method to move your Moveable
(Inherited from Moveable.)
MoveTo(array<Point>[]()[])
Allow you to directly set the path of the bots
(Inherited from Moveable.)
PathCount
Number of points to arrive to 'to' point.
(Inherited from Moveable.)
PathPoint(Int32)
Obtain a point of the path
(Inherited from Moveable.)
PlayerID
ID of the Player
(Inherited from Bot.)
PlayerOwner
Reference to the Player instance owner of this bot
(Inherited from Bot.)
PointInfo
Point used for different operation. While moving, it is the point at the end of the movement. While defending, it is the point where it shoot. While Transfering, it must be the location of the Needle where it want to tranfer OXY. While Collecting, it must be the point where OXY Landing point is.
(Inherited from Bot.)
Scan
Scan distance. If an enemie is nearer than this value, it is seen by this bot (and added to the OtherbotsInfo property of the Player)
(Inherited from Bot.)
Shield
Intensity of the shield of the bot.
(Inherited from Bot.)
State
State of the bot
(Inherited from Bot.)
Stock
Number of OXY in its container.
(Inherited from Bot.)
StopMoving()()()
Stop immediatly the Moveable and set its state to WaitingOrders.
(Inherited from Moveable.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TransferTo(Point, Int32)
Use this method to transfer OXY from your botCollector to a Needle
(Inherited from Collector.)
Remarks
botContainer are like Collector but can contains more OXY but can't defend.
Inheritance Hierarchy
Object
BotTypeBase
 Bot
  Defender
   Moveable
    Collector
     Container

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