package grinmud.Verbs; public class TransitiveVerbTemplate implements TransitiveVerb { //methods //use as (insert verb here).perform(Person, Object) //needs to return an array of length three with two strings to broadcast, first to the subject and second to everyone else, and the third value a string "false" for a verb that changes nothing (broadcast only) and "true" for a verb that changes something. public String[] perform(Person subject, Noun object) { try { String[] action = object.getVerb(name); } catch { throw InvalidVerb; } if(action[2] != "false") { //changes to the person //changes to the object } return action; }//perform(Person,Noun) }