Unit small_hornet
Classes, Interfaces, Objects and Records
Types
Constants
Variables
Description
Simple enemy with no AI, moves in a pattern to act as a barrier It's called a 'small' hornet, but only in relation to Giant insects
Uses
- SysUtils
- combat_resolver
Overview
Functions and Procedures
procedure createSmallHornet(uniqueid, npcx, npcy: smallint); |
procedure takeTurn(id: smallint); |
procedure death; |
procedure wander(id, spx, spy: smallint); |
function isNextToPlayer(spx, spy: smallint): boolean; |
procedure combat(id: smallint); |
procedure infighting(npcID, enemyID: smallint); |
Description
Functions and Procedures
procedure createSmallHornet(uniqueid, npcx, npcy: smallint); |
Create a hornet |
procedure takeTurn(id: smallint); |
Take a turn |
procedure death; |
Creature death |
procedure wander(id, spx, spy: smallint); |
Move in a random direction |
function isNextToPlayer(spx, spy: smallint): boolean; |
Check if player is next to NPC |
procedure combat(id: smallint); |
Player Combat |
procedure infighting(npcID, enemyID: smallint); |
NPC attacks another entity |
Generated by PasDoc 0.16.0.