Unit green_fungus

Classes, Interfaces, Objects and Records
Types
Constants
Variables

Description

Stationary hazard, when attacked will either poison the player or release spores

Uses

Overview

Functions and Procedures

procedure createGreenFungus(uniqueid, npcx, npcy: smallint);
procedure takeTurn(id: smallint);
function isNextToPlayer(spx, spy: smallint): boolean;
procedure combat(idOwner, idTarget: smallint);
procedure death;

Description

Functions and Procedures

procedure createGreenFungus(uniqueid, npcx, npcy: smallint);

Create fungus

procedure takeTurn(id: smallint);

Take a turn

function isNextToPlayer(spx, spy: smallint): boolean;

Check if player is next to NPC

procedure combat(idOwner, idTarget: smallint);

Fungus attacks

procedure death;

NPC Death - Fungus releases spores into the air


Generated by PasDoc 0.16.0.