Class: RPG::Event::Page::Graphic

Inherits:
Object
  • Object
show all
Extended by:
RgssDb::JsonableConstructor
Includes:
RgssDb::Jsonable
Defined in:
lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_graphic.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/event_page_graphic.rb

Overview

The data class for the Event page [Graphics].

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from RgssDb::JsonableConstructor

json_create, json_new

Methods included from RgssDb::Jsonable

#as_json, #to_json

Constructor Details

#initializeGraphic

Returns a new instance of Graphic.



13
14
15
16
17
18
19
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 13

def initialize
  @tile_id = 0
  @character_name = ""
  @character_index = 0
  @direction = 2
  @pattern = 0
end

Instance Attribute Details

#blend_typeObject

Returns the value of attribute blend_type.



23
24
25
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_graphic.rb', line 23

def blend_type
  @blend_type
end

#character_hueObject

Returns the value of attribute character_hue.



23
24
25
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_graphic.rb', line 23

def character_hue
  @character_hue
end

#character_indexObject

Returns the value of attribute character_index.



21
22
23
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 21

def character_index
  @character_index
end

#character_nameObject

Returns the value of attribute character_name.



21
22
23
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 21

def character_name
  @character_name
end

#directionObject

Returns the value of attribute direction.



21
22
23
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 21

def direction
  @direction
end

#opacityObject

Returns the value of attribute opacity.



23
24
25
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_graphic.rb', line 23

def opacity
  @opacity
end

#patternObject

Returns the value of attribute pattern.



21
22
23
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 21

def pattern
  @pattern
end

#tile_idObject

Returns the value of attribute tile_id.



21
22
23
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_graphic.rb', line 21

def tile_id
  @tile_id
end