Sha256: de0f3f1e932569f2165bc22a4963a9f94181236ec439d6bb0a32cde4c6e30845

Contents?: true

Size: 295 Bytes

Versions: 22

Compression:

Stored size: 295 Bytes

Contents

# -*- coding: utf-8 -*-
require 'singleton'

module Smalruby
  # 環境を表現するクラス
  class World
    include Singleton

    attr_accessor :objects
    attr_accessor :board
    attr_accessor :current_stage

    def initialize
      @objects = []
      @board = nil
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
smalruby-0.1.11-x86-mingw32 lib/smalruby/world.rb
smalruby-0.1.11 lib/smalruby/world.rb
smalruby-0.1.10-x86-mingw32 lib/smalruby/world.rb
smalruby-0.1.10 lib/smalruby/world.rb
smalruby-0.1.9-x86-mingw32 lib/smalruby/world.rb
smalruby-0.1.9 lib/smalruby/world.rb
smalruby-0.1.8-x86-mingw32 lib/smalruby/world.rb
smalruby-0.1.8 lib/smalruby/world.rb
smalruby-0.1.7-x86-mingw32 lib/smalruby/world.rb
smalruby-0.1.7 lib/smalruby/world.rb
smalruby-0.1.6-x86-mingw32 lib/smalruby/world.rb
smalruby-0.1.6 lib/smalruby/world.rb
smalruby-0.1.5-x86-mingw32 lib/smalruby/world.rb
smalruby-0.1.5 lib/smalruby/world.rb
smalruby-0.1.4-x86-mingw32 lib/smalruby/world.rb
smalruby-0.1.4 lib/smalruby/world.rb
smalruby-0.1.3-x86-mingw32 lib/smalruby/world.rb
smalruby-0.1.3 lib/smalruby/world.rb
smalruby-0.1.2-x86-mingw32 lib/smalruby/world.rb
smalruby-0.1.2 lib/smalruby/world.rb