Command.rb

RubyMud/Command.rb · 256 B

From the archive rbmud-0.1rc2.tar.gz

Download the archive   « Back to the archive contents

require "Commands.rb"

module RubyMud

class Command
	
	def initialize()
		# Add it to the command lists
		Commands.add(self)
	end
	
	def words
		return [""]
	end

	def canUse?(object)
		return true
	end
	
	def execute(clientConnection,text)
	end
end

end

Site Stats

Snippets: 1791
Codebases: 571