[Package Index | Mudlib Index | Effect Index]
File /obj/handlers/firework.c
This handler helps control the fireworks used in the wizards spells.
Class Index
Method index
- do_effects()
This method broadcasts the actual firework messages.
 - query_effects()
This method returns the list of fireworks currently available.
 - random_firework(object, string)
This method creates a random firework at the casters location from the
current list of fireworks.
 
Public Functions
These are functions that everyone can access.
- 
query_effects
mixed * query_effects()
 
This method returns the list of fireworks currently available.
The list constists of an array of firework effects.  Each effect
consists of a list of strings.  The strings are printed one by
one with a delay between each. 
ie:
({
  ({
     mess1,
     mess2,
     ...
   }),
  ({
     /* Second effect */
   })
});
- Returns:
the effects array
 
- 
random_firework
varargs void random_firework(object caster,
                             string text)
 
This method creates a random firework at the casters location from the
current list of fireworks.  If the text field is not filled in then
the casters name is used.
- Parameters:
caster - the caster of the spell
text - the text to print in the firework
- See also:
do_effect()
  
Protected Functions
These are functions that only objects inheriting the class can access.
- 
do_effects
void do_effects()
 
This method broadcasts the actual firework messages.
- See also:
random_firework()
 
Classes
These are nice data types for dealing with...  Data!