Sha256: 80f2bd22cf02481919faa81f919c44127ef9d9aa7e58f0e04c96d4ec28131a75

Contents?: true

Size: 228 Bytes

Versions: 6

Compression:

Stored size: 228 Bytes

Contents

# Behavior is any type of behavior an actor can exibit.
class Behavior
  attr_accessor :actor

  def initialize(actor,opts={})
    @actor = actor
    @opts = opts
    setup
  end

  def setup
  end

  def update(time)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gamebox-0.0.1 lib/gamebox/behavior.rb
gamebox-0.0.2 lib/gamebox/behavior.rb
gamebox-0.0.3 lib/gamebox/behavior.rb
gamebox-0.0.4 lib/gamebox/behavior.rb
gamebox-0.0.5 lib/gamebox/behavior.rb
gamebox-0.0.6 lib/gamebox/behavior.rb