Click or drag to resize

Bullet Class

Spawned by Weapons.
Inheritance Hierarchy

Namespace:  Mannequin.Bindings
Assembly:  Collapse (in Collapse.exe) Version: 0.4.6.1290 (0.4.6.1290)
Syntax
C#
public class Bullet : Agent

The Bullet type exposes the following members.

Properties
  NameDescription
Public propertyCurrentTile
Get the Tile this Agent is standing on.
(Inherited from Agent.)
Public propertyFaction
Get or set this Agent's Faction.
(Inherited from Agent.)
Public propertyGridPosition
The Agent's position on the Grid.
(Inherited from Agent.)
Public propertyHealth
The health (hit points) this Agent has
(Inherited from Agent.)
Public propertyIsBullet
Is this a Bullet?
(Inherited from Agent.)
Public propertyIsClutter
Is this Clutter?
(Inherited from Agent.)
Public propertyIsLiving
Is this a living object (Living)?
(Inherited from Agent.)
Public propertyMaxHealth
The maximum health (hit points) this Agent can have
(Inherited from Agent.)
Public propertyName
The name of this Agent
(Inherited from Agent.)
Public propertyPosition
The Point where this Agent lies
(Inherited from Agent.)
Public propertyVisible
Whether this Agent is visible or not.
(Inherited from Agent.)
Public propertyWeapon
The Weapon used to fire this bullet.
Top
Methods
  NameDescription
Public methodCode exampleDamage
Have attacker "damage" this Agent. Note that this will fire AgentDamage.
(Inherited from Agent.)
Public methodKill
Kill this Agent, removing it from its respective Scene. Note that this will fire the AgentDeath.
(Inherited from Agent.)
Top
See Also