Class: RPG::Animation::Frame

Inherits:
Object
  • Object
show all
Defined in:
lib/rpg/animation/frame.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Frame) initialize

Returns a new instance of Frame



4
5
6
7
# File 'lib/rpg/animation/frame.rb', line 4

def initialize
  @cell_max = 0
  @cell_data = Table.new(0, 0)
end

Instance Attribute Details

- (Object) cell_data

Returns the value of attribute cell_data



9
10
11
# File 'lib/rpg/animation/frame.rb', line 9

def cell_data
  @cell_data
end

- (Object) cell_max

Returns the value of attribute cell_max



8
9
10
# File 'lib/rpg/animation/frame.rb', line 8

def cell_max
  @cell_max
end