Class: StoryTeller::Character

Inherits:
Inform::Object show all
Defined in:
lib/story_teller/player_character.rb

Overview

class Character

Constant Summary

Constants inherited from Inform::Object

Inform::Object::ExportFileNameTemplate, Inform::Object::JsonOptions, Inform::Object::Visited, Inform::Object::XmlFileNameTemplate, Inform::Object::XmlOptions

Instance Method Summary collapse

Methods inherited from Inform::Object

#<<, #<=>, #==, #__invoke, #_invoke, #after_clone, #after_create, #after_destroy, #after_save, #before_clone, #before_create, #before_destroy, #child, #classify_as, #clone, #description=, #empty?, #encode_with, #ephemeral_children, #export_json, #export_xml, #export_yaml, fetch_or_create_by_name, #inflib, #inflib=, #init, #invoke, #list_together, #location, #name, #name=, #name_values, #name_words, #object_name, #parse, #print_evented_zmachine_result, #print_zmachine_result, #remove, #routines, #safe_init, #safe_refresh, #safe_save, #semaphore, #sysclone, #tags, #tags_original, #tags_semaphore, #visited

Methods included from Inform::Modular

#after_initialize, #apply_modules, #mod, #modules, #modules_semaphore, #nil_safe_modules, #reset_modules, #unmod

Methods included from Inform::Linkable

#_set_object, #find_link, #link, #linked?, #links, #linksfrom, #linkto, #unlink

Methods inherited from Sequel::Model

implicit_table_name

Methods included from InheritanceListener

included

Constructor Details

#initialize(name) ⇒ Character

Returns a new instance of Character.



30
31
32
33
34
35
36
# File 'lib/story_teller/player_character.rb', line 30

def initialize(name)
  super
  capacity 100
  parse_name 0
  orders 0
  has :concealed, :animate, :proper, :transparent
end

Instance Method Details

#add_to_scopeObject



45
# File 'lib/story_teller/player_character.rb', line 45

def add_to_scope; nil; end

#afterObject



40
# File 'lib/story_teller/player_character.rb', line 40

def after; nil; end

#beforeObject



39
# File 'lib/story_teller/player_character.rb', line 39

def before; nil; end

#before_implicitObject



47
# File 'lib/story_teller/player_character.rb', line 47

def before_implicit; nil; end

#describeObject



44
# File 'lib/story_teller/player_character.rb', line 44

def describe; nil; end

#descriptionObject



38
# File 'lib/story_teller/player_character.rb', line 38

def description; return L__M(:Miscellany, 19); end

#each_turnObject



42
# File 'lib/story_teller/player_character.rb', line 42

def each_turn; nil; end

#lifeObject



41
# File 'lib/story_teller/player_character.rb', line 41

def life; nil; end

#numberObject



46
# File 'lib/story_teller/player_character.rb', line 46

def number; 0; end

#short_nameObject



37
# File 'lib/story_teller/player_character.rb', line 37

def short_name; return L__M(:Miscellany, 18); end

#time_outObject



43
# File 'lib/story_teller/player_character.rb', line 43

def time_out; nil; end