summaryrefslogtreecommitdiffhomepage
path: root/app/ECS/signatures.rb
blob: 844c66d7a03266f28f65f4b2d504bf8ed2cf86b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
class ID
  class <<self
    def renderable
      @renderable ||= '0_001'.to_i(2)
    end

    def sprite
      @sprite ||= '0_010'.to_i(2)
    end

    def label
      @label ||= '0_100'.to_i(2)
    end

    def player_control
      @player_control ||= '0_001_000'.to_i(2)
    end

    def map
      @map ||= '0_010_000'.to_i(2)
    end

    def map
      @map ||= '0_100_000'.to_i(2)
    end
  end
end