Module: ArgsUpdate

Included in:
DevTools, Keyboard, Mouse, Renderer
Defined in:
tomes/spells/args_update/args_update.rb

Overview

A module that gives an ‘update’ method to any class that needs to update its args.

Instance Method Summary collapse

Instance Method Details

#update(args) ⇒ Void

Note:

This must be called every frame.

Refreshes args for the object.

Parameters:

  • args (Args)

Returns:

  • (Void)


17
18
19
# File 'tomes/spells/args_update/args_update.rb', line 17

def update(args)
  self.args = args
end