Class: Bayonetta::EXPFile::Entry1
- Inherits:
-
LibBin::Structure
- Object
- LibBin::Structure
- Bayonetta::EXPFile::Entry1
- Defined in:
- lib/bayonetta/exp.rb
Instance Method Summary collapse
- #get_value(pose, table) ⇒ Object
-
#initialize ⇒ Entry1
constructor
A new instance of Entry1.
Constructor Details
#initialize ⇒ Entry1
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 |