wyvern.lib.classes.filters
Class NagaFilter

java.lang.Object
  extended bywyvern.lib.classes.filters.SpeechFilter
      extended bywyvern.lib.classes.filters.NagaFilter
All Implemented Interfaces:
AddRemoveNotify, HookCallback, MutableProperty

public class NagaFilter
extends SpeechFilter

A speech filter for nagas. Produces sibilances.

Version:
1.0, Aug 11, 2002
Author:
Steve Yegge

Nested Class Summary
 
Nested classes inherited from class wyvern.lib.classes.filters.SpeechFilter
SpeechFilter.Replacement
 
Field Summary
 
Fields inherited from class wyvern.lib.classes.filters.SpeechFilter
agents_
 
Constructor Summary
NagaFilter()
           
 
Method Summary
 java.lang.String applyFilter(java.lang.String text)
          Converts a string into naga-speak.
 java.lang.Object createClone()
          Produces a clone of the property for the caller.
static void main(java.lang.String[] args)
          Tests the filter.
 java.lang.String toString()
          Returns name of filter.
 
Methods inherited from class wyvern.lib.classes.filters.SpeechFilter
addGlobalPattern, addSinglePattern, detachFromAgent, filterAgent, filterSay, filterShout, filterTell, filterWhisper, getGlobalPatterns, getSinglePatterns, hookEvent, notifyAdd, notifyRemove, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NagaFilter

public NagaFilter()
Method Detail

applyFilter

public java.lang.String applyFilter(java.lang.String text)
Converts a string into naga-speak.

Overrides:
applyFilter in class SpeechFilter
Parameters:
text - the initial text of the say/shout/tell
Returns:
the modified text

toString

public java.lang.String toString()
Returns name of filter.


createClone

public java.lang.Object createClone()
Produces a clone of the property for the caller. Required for MutableProperty interface.


main

public static void main(java.lang.String[] args)
Tests the filter.