summaryrefslogtreecommitdiffhomepage
path: root/app/ECS/signatures.rb
blob: a6df0acdbbdceb2acf826a192f684ab0feff82a1 (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
28
29
30
31
32
33
34
35
class ID
  class <<self
    def renderable
      0b0_001
    end

    def sprite
      0b0_010
    end

    def label
      0b0_100
    end

    def player_control
      0b0_001_000
    end

    def map
      0b0_010_000
    end

    def interactable
      0b0_100_000
    end

    def level
      0b0_001_000_000
    end

    def collidable
      0b0_010_000_000
    end
  end
end