Sha256: 150692922a415bac25d5ef6dcea73b467e208a760a6caf40fed3fa6d63de9468

Contents?: true

Size: 238 Bytes

Versions: 2

Compression:

Stored size: 238 Bytes

Contents

require_relative 'table'
require_relative 'robot'

class World

  attr_accessor :table, :robot

  def initialize
    # One world contains only a single table and a single Robot
    @table ||= Table.new
    @robot ||= Robot.new
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
r3d3-0.1.1 lib/r3d3/models/world.rb
r3d3-0.1.0 lib/r3d3/models/world.rb