Project Hoshimi Documented Class Library
PH.Common Namespace
NamespacesPH.Common
 
Declaration Syntax
C#Visual BasicVisual C++
namespace PH.Common
Namespace PH.Common
namespace PH.Common
Types
All TypesClassesStructuresInterfacesEnumerationsDelegates
IconTypeDescription
AI

Class for the AI.

This class can't be inherited. The AI is the main bot of your team. It is the only bot that can build other bot. It can move but can't defend.

Blocker

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.

Bot
Base class (abstract) for all bots.

BotCollection
Typed collection of bot

BotInfo
This structure reflect the state of a bot

BotInfoCollection
Typed collection of botInfo. Used by OtherbotsInfo property of the player

BotState
State of the bot

BotType
Different types of bots

BotTypeBase
BotValidator
Class helper to validate a player assembly. Used by Game Engine

CharacteristicsAttribute
Attribute used to choose characteristic of each type of bot

ChooseLandingPointHandler
Delegate used at the beginning of the game to let player choose his Landing Point.

Collector

Class representing a botCollector


Container

Class representing a botContainer


Defender
Abstract class representing a bot that can defend itself (Collector, Needle)

Explorer

Class representing a Explorer.


Factory

Class used only by Pierre team. You can't use it.


IDefender
Interface for Defender (Pierre's Team)

LandingPointInfo

Description of LandingPoint discovered

LPCreator

LPCreator allow you to create a new Landing Point on another point in the Terrain.

You can create a new IP by using OpenIP method. This will set its state to CreatingIP. As soon as it start creating a new IP, life of the LPCreator is limited to 500 turns (even if it stop creating IP). After 500 turns, it will die.


Moveable
Abstract class representing a Moveable

Needle

Class representing a Needle


Player
Class representing a player

PlayerValidator
Validate a player

Utils
Utils giving access to different parameters

VGException
Exceptions used by GameEngine

Wall

Class for the Wall. Wall stop entities that are not in his team.

Wall can't move nor defend. After 50 turns, Wall dies


WhatToDoNextHandler
Delegate used each turn in the game.