Class: RPG::Event
- Inherits:
-
Object
- Object
- RPG::Event
- Defined in:
- lib/rpg/event.rb,
lib/rpg/event/page.rb,
lib/rpg/event/page/graphic.rb,
lib/rpg/event/page/condition.rb
Defined Under Namespace
Classes: Page
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#pages ⇒ Object
Returns the value of attribute pages.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Method Summary collapse
-
#initialize(x, y) ⇒ Event
constructor
A new instance of Event.
Constructor Details
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/rpg/event.rb', line 10 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
11 12 13 |
# File 'lib/rpg/event.rb', line 11 def name @name end |
#pages ⇒ Object
Returns the value of attribute pages.
14 15 16 |
# File 'lib/rpg/event.rb', line 14 def pages @pages end |
#x ⇒ Object
Returns the value of attribute x.
12 13 14 |
# File 'lib/rpg/event.rb', line 12 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
13 14 15 |
# File 'lib/rpg/event.rb', line 13 def y @y end |