class Conreality::Game
The game database.
Public Class Methods
new(session)
click to toggle source
@param session [Session]
# File lib/conreality/game.rb, line 9 def initialize(session) @session = session end
Public Instance Methods
each_object(&block)
click to toggle source
@todo
# File lib/conreality/game.rb, line 53 def each_object(&block) # TODO end
each_theater(&block)
click to toggle source
@todo
# File lib/conreality/game.rb, line 34 def each_theater(&block) # TODO end
find_event(id)
click to toggle source
@todo @return [Event] the event
# File lib/conreality/game.rb, line 64 def find_event(id) # TODO end
find_message(id)
click to toggle source
@todo @return [Message] the message
# File lib/conreality/game.rb, line 75 def find_message(id) # TODO end
find_object(uuid)
click to toggle source
Returns the object identified by the given UUID.
@param uuid [String] the object's UUID @return [Object] the object
# File lib/conreality/game.rb, line 47 def find_object(uuid) Conreality::Object.new(@session, uuid) end
find_theater(uuid)
click to toggle source
Returns the theater identified by the given UUID.
@param uuid [String] the theater's UUID @return [Theater] the theater
# File lib/conreality/game.rb, line 28 def find_theater(uuid) Conreality::Theater.new(@session, uuid) end
inspect()
click to toggle source
Returns a developer-friendly representation of this action.
@return [String]
# File lib/conreality/game.rb, line 17 def inspect sprintf("#<%s:%#0x>", self.class.name, self.__id__) end