Class: Bayonetta::EXPFile::Entry1

Inherits:
LibBin::Structure
  • Object
show all
Defined in:
lib/bayonetta/exp.rb

Instance Method Summary collapse

Constructor Details

#initializeEntry1

Returns a new instance of Entry1.



366
367
368
369
370
371
# File 'lib/bayonetta/exp.rb', line 366

def initialize
  @flags = 0x80000001
  @bone_index = 0
  @animation_track = 0
  @padding = 0
end

Instance Method Details

#get_value(pose, table) ⇒ Object



373
374
375
# File 'lib/bayonetta/exp.rb', line 373

def get_value(pose, table)
  pose[table[@bone_index]][@animation_track]
end