summary refs log tree commit diff stats
path: root/src/components.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.h')
-rw-r--r--src/components.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components.h b/src/components.h index f5c66d4..3d80d1a 100644 --- a/src/components.h +++ b/src/components.h
@@ -111,11 +111,11 @@ class StaticImageComponent : public Component {
111 111
112class SimpleColliderComponent : public Component { 112class SimpleColliderComponent : public Component {
113 public: 113 public:
114 SimpleColliderComponent(std::function<void (Entity& collider)> callback); 114 SimpleColliderComponent(std::function<void (Game& game, Entity& collider)> callback);
115 void receive(Game& game, Entity& entity, const Message& msg); 115 void receive(Game& game, Entity& entity, const Message& msg);
116 116
117 private: 117 private:
118 std::function<void (Entity& collider)> callback; 118 std::function<void (Game& game, Entity& collider)> callback;
119}; 119};
120 120
121#endif 121#endif
ploader/blame/source/link.c?id=252e2911383a5267673f00c08419e2afeac35a31'>^
08dfb0a ^
2190722 ^




2190722 ^
2190722 ^










57afb40 ^
2190722 ^










57afb40 ^
2190722 ^






















07774bf ^
57afb40 ^
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150