C# Class AIGenerator

Inheritance: GameBehavior
Afficher le fichier Open project: mezosaurus/eae-project

Méthodes publiques

Свойство Type Description
HearingRadiusMultiplierNPC float
activeEnemySpawnTime float
axeManStartCount int
axemanSoundtrack UnityEngine.AudioClip
benchTag string
critterNPC GameObject
critterSpawnTag string
critterSpawnTime float
enemyNPCActive GameObject
enemyNPCWander GameObject
isMaze bool
levelSpawnsAxeMan bool
maxNumberOfEachNPC int
pathNPC GameObject
pathTag string
spawnAxeActiveDEBUG bool
spawnAxeWanderDEBUG bool
spawnTag string
spawnTime float
startWithActiveAxeMan bool
stationaryNPC GameObject
wanderNPC GameObject

Méthodes publiques

Méthode Description
NPCDestroyListener ( Message, message ) : void
OnDestroy ( ) : void
Start ( ) : void
createActiveEnemyNPC ( ) : void
createActiveEnemyNPC ( bool preSpawn ) : void
createActiveEnemyNPC ( int count ) : void
createActiveEnemyNPC ( int count, bool preSpawn ) : void
createCritterNPC ( ) : void
createNewNPC ( ) : void
createPathNPC ( ) : void
createPathNPC ( Vector2 spawnPoint, SubpathScript, movePath ) : void
createStationaryNPC ( ) : void
createWanderEnemyNPC ( Vector3 panickedPosition ) : void
createWanderNPC ( ) : void
loadNPCWithSkin ( GameObject npc, string skinName, NPCSkinType skinType ) : void

Méthodes protégées

Méthode Description
GameUpdate ( ) : void

Private Methods

Méthode Description
NotorietyMeterListener ( Message, message ) : void
createNPC ( GameObject NPC, ArrayList aiList ) : GameObject
createNPC ( GameObject NPC, ArrayList aiList, Vector2 spawnPoint ) : GameObject
getRandomMovePath ( ) : SubpathScript,
getRandomSpawnPoint ( ) : Vector2
getSpawnXPosition ( ) : float
getSpawnYPosition ( float xPosition ) : float
initMap ( ) : void
isRoomAvailableForNewNPC ( ) : bool

Method Details

GameUpdate() protected méthode

protected GameUpdate ( ) : void
Résultat void

NPCDestroyListener() public méthode

public NPCDestroyListener ( Message, message ) : void
message Message,
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

createActiveEnemyNPC() public méthode

public createActiveEnemyNPC ( ) : void
Résultat void

createActiveEnemyNPC() public méthode

public createActiveEnemyNPC ( bool preSpawn ) : void
preSpawn bool
Résultat void

createActiveEnemyNPC() public méthode

public createActiveEnemyNPC ( int count ) : void
count int
Résultat void

createActiveEnemyNPC() public méthode

public createActiveEnemyNPC ( int count, bool preSpawn ) : void
count int
preSpawn bool
Résultat void

createCritterNPC() public méthode

public createCritterNPC ( ) : void
Résultat void

createNewNPC() public méthode

public createNewNPC ( ) : void
Résultat void

createPathNPC() public méthode

public createPathNPC ( ) : void
Résultat void

createPathNPC() public méthode

public createPathNPC ( Vector2 spawnPoint, SubpathScript, movePath ) : void
spawnPoint Vector2
movePath SubpathScript,
Résultat void

createStationaryNPC() public méthode

public createStationaryNPC ( ) : void
Résultat void

createWanderEnemyNPC() public méthode

public createWanderEnemyNPC ( Vector3 panickedPosition ) : void
panickedPosition Vector3
Résultat void

createWanderNPC() public méthode

public createWanderNPC ( ) : void
Résultat void

loadNPCWithSkin() public static méthode

public static loadNPCWithSkin ( GameObject npc, string skinName, NPCSkinType skinType ) : void
npc GameObject
skinName string
skinType NPCSkinType
Résultat void

Property Details

HearingRadiusMultiplierNPC public_oe property

public float HearingRadiusMultiplierNPC
Résultat float

activeEnemySpawnTime public_oe property

public float activeEnemySpawnTime
Résultat float

axeManStartCount public_oe property

public int axeManStartCount
Résultat int

axemanSoundtrack public_oe property

public AudioClip,UnityEngine axemanSoundtrack
Résultat UnityEngine.AudioClip

benchTag public_oe property

public string benchTag
Résultat string

critterNPC public_oe property

public GameObject critterNPC
Résultat GameObject

critterSpawnTag public_oe property

public string critterSpawnTag
Résultat string

critterSpawnTime public_oe property

public float critterSpawnTime
Résultat float

enemyNPCActive public_oe property

public GameObject enemyNPCActive
Résultat GameObject

enemyNPCWander public_oe property

public GameObject enemyNPCWander
Résultat GameObject

isMaze public_oe property

public bool isMaze
Résultat bool

levelSpawnsAxeMan public_oe property

public bool levelSpawnsAxeMan
Résultat bool

maxNumberOfEachNPC public_oe property

public int maxNumberOfEachNPC
Résultat int

pathNPC public_oe property

public GameObject pathNPC
Résultat GameObject

pathTag public_oe property

public string pathTag
Résultat string

spawnAxeActiveDEBUG public_oe property

public bool spawnAxeActiveDEBUG
Résultat bool

spawnAxeWanderDEBUG public_oe property

public bool spawnAxeWanderDEBUG
Résultat bool

spawnTag public_oe property

public string spawnTag
Résultat string

spawnTime public_oe property

public float spawnTime
Résultat float

startWithActiveAxeMan public_oe property

public bool startWithActiveAxeMan
Résultat bool

stationaryNPC public_oe property

public GameObject stationaryNPC
Résultat GameObject

wanderNPC public_oe property

public GameObject wanderNPC
Résultat GameObject