Project Hoshimi Documented Class Library
Blocker Class
NamespacesPH.CommonBlocker

Class for the Blocker.Blocker slow entities that are not in his team.

For example, if a bot from Pierre Team come near a Blocker, it goes very slowly. Length of its effect is in configuration file (BlockerLength). Use Utils in VG.Common namespace to access this information. Strength of the Blocker is too in configuration file (BlockerStrength). If a bot is in a blocker area and that BlockerStrength equal 6, it take 6 turns more than usual to go through a cell. Blocker can't move nor defend.
Declaration Syntax
C#Visual BasicVisual C++
public class Blocker : Bot
Public Class Blocker _
	Inherits Bot
public ref class Blocker : public Bot
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Blocker()()()
BotInfo
Informations about the bot.
(Inherited from Bot.)
BotType
return the type of the bot.
(Inherited from Bot.)
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.)
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.)
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.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks

[Missing <remarks> documentation for T:PH.Common.Blocker]

Inheritance Hierarchy

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