Unit embalming_spider
Classes, Interfaces, Objects and Records
Types
Constants
Variables
Description
Spider that spins webs
Uses
Overview
Functions and Procedures
procedure createEmbalmSpider(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; |
procedure spinWeb(id: smallint); |
Description
Functions and Procedures
procedure createEmbalmSpider(uniqueid, npcx, npcy: smallint); |
Create an Embalming Spider |
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 |
procedure spinWeb(id: smallint); |
Spin a web |
Generated by PasDoc 0.16.0.