module Nova::Starbound::DefaultBehavior::Eventable

Handles events such as packets.

Public Class Methods

included(receiver) click to toggle source

Called when this module is included by a module or class. Extends that module or class by {ClassMethods}, and includes {InstanceMethods} into that class.

@return [void]

# File lib/nova/starbound/default_behavior/eventable.rb, line 80
def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
end