Class CaptureTheFlagManager
Manager for Troopers to play capture the flag.
Inheritance
System.Object
CaptureTheFlagManager
Syntax
public class CaptureTheFlagManager : KaijuGlobalController
Properties
Ammo
The maximum and starting Ammo of Troopers for their blaster.
Declaration
public static int Ammo { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
CaptureDistance
How close to a Trooper's own base to capture a Flag they are carrying.
Declaration
public static float CaptureDistance { get; }
Property Value
| Type |
Description |
| System.Single |
|
ColorOne
Declaration
public static Color ColorOne { get; }
Property Value
ColorTwo
Declaration
public static Color ColorTwo { get; }
Property Value
Cooldown
Declaration
public static float Cooldown { get; }
Property Value
| Type |
Description |
| System.Single |
|
Damage
Declaration
public static int Damage { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Health
Declaration
public static int Health { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Instance
The singleton manager instance.
Declaration
public static CaptureTheFlagManager Instance { get; }
Property Value
Respawn
The time in seconds for Troopers to respawn.
Declaration
public static float Respawn { get; }
Property Value
| Type |
Description |
| System.Single |
|
Size
Declaration
public static int Size { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
OnAgentDisabled(KaijuAgent)
Global callback for when a KaijuAgent has finishing becoming disabled.
Declaration
protected override void OnAgentDisabled(KaijuAgent agent)
Parameters
Overrides