class Core::Game::Mind

Public Class Methods

new() click to toggle source
# File lib/game/mind.rb, line 11
def initialize
  @thoughts = []
end

Public Instance Methods

contrive(thought) click to toggle source
# File lib/game/mind.rb, line 14
def contrive(thought)
  @thoughts.push(thought)
end
forget(thought) click to toggle source
# File lib/game/mind.rb, line 17
def forget(thought)
  @thoughts.delete(thought)
end
thoughts() click to toggle source
# File lib/game/mind.rb, line 20
def thoughts
  return @thoughts
end