[Package Index | Mudlib Index | Effect Index]

File /obj/handlers/fuel_handler.c

Adds a burner into the burner array. The burner has the function concume_fuelk called on it every fuel interval.

Includes

This class includes the following files /include/fuel_handler.h

Method index

Public Functions

These are functions that everyone can access.

add_burner
void add_burner(object thing)
query_burners
object * query_burners()

Returns the complete list of the burner array.

Returns:
an array containing all the burners


remove_burner
void remove_burner(object thing)

Remove a burner from the burner list.

Parameters:
thing - the burner to remove