Class: Bayonetta::EXPFile::Entry2
- Inherits:
-
LibBin::Structure
- Object
- LibBin::Structure
- Bayonetta::EXPFile::Entry2
- Defined in:
- lib/bayonetta/exp.rb
Instance Method Summary collapse
- #get_value(pose, table) ⇒ Object
-
#initialize ⇒ Entry2
constructor
A new instance of Entry2.
Constructor Details
#initialize ⇒ Entry2
Returns a new instance of Entry2.
386 387 388 389 390 391 392 |
# File 'lib/bayonetta/exp.rb', line 386 def initialize @flags = 0x80000001 @bone_index = 0 @animation_track = 0 @padding = 0 @operation = Operation::new end |
Instance Method Details
#get_value(pose, table) ⇒ Object
394 395 396 |
# File 'lib/bayonetta/exp.rb', line 394 def get_value(pose, table) @operation.transform_value( pose[table[@bone_index]][@animation_track] ) end |