161 |
return _layer; |
return _layer; |
162 |
} |
} |
163 |
|
|
164 |
/** sets the layer, layer shall be compared to a z buffer, we defined |
/** |
165 |
|
* Sets the layer, layer shall be compared to a z buffer, we defined |
166 |
* that the first layer is 1 |
* that the first layer is 1 |
167 |
* @param (int)layer |
* @param (int)layer |
168 |
*/ |
*/ |
215 |
{ |
{ |
216 |
} |
} |
217 |
|
|
218 |
|
- (void) _display |
219 |
|
{ |
220 |
|
[self notImplemented: _cmd]; |
221 |
|
} |
222 |
|
|
223 |
- (void) display |
- (void) display |
224 |
{ |
{ |
225 |
|
glPushMatrix(); |
226 |
glTranslatef (_position.x, _position.y, 0.0f); |
glTranslatef (_position.x, _position.y, 0.0f); |
227 |
|
|
228 |
|
[self _display]; |
229 |
|
|
230 |
|
glPopMatrix(); |
231 |
} |
} |
232 |
@end |
@end |