Unit mushroom_person
Classes, Interfaces, Objects and Records
Types
Constants
Variables
Description
Mushroom person - slow but can poison the player
Uses
Overview
Functions and Procedures
procedure createMushroomPerson(uniqueid, npcx, npcy: smallint); |
procedure takeTurn(id: smallint); |
procedure death; |
procedure decisionNeutral(id: smallint); |
procedure decisionHostile(id: smallint); |
procedure decisionEscape(id: smallint); |
function isNextToPlayer(spx, spy: smallint): boolean; |
Description
Functions and Procedures
procedure createMushroomPerson(uniqueid, npcx, npcy: smallint); |
Create a mushroom person |
procedure takeTurn(id: smallint); |
The NPC takes their turn in the game loop |
procedure death; |
Creature death |
procedure decisionNeutral(id: smallint); |
Decision tree for Neutral state |
procedure decisionHostile(id: smallint); |
Decision tree for Hostile state |
procedure decisionEscape(id: smallint); |
Decision tree for Escape state |
function isNextToPlayer(spx, spy: smallint): boolean; |
Check if player is next to NPC |
Generated by PasDoc 0.16.0.