diff options
Diffstat (limited to 'lib/sprite.cc')
-rw-r--r-- | lib/sprite.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/sprite.cc b/lib/sprite.cc index 282eefe..60f944c 100644 --- a/lib/sprite.cc +++ b/lib/sprite.cc @@ -124,6 +124,7 @@ bool mogltk::Sprite::canfit(int x1, int y1, int x2, int y2) const { } void mogltk::Sprite::draw(int dx, int dy, ColorP c) { +#if 0 bool was2D; was2D = mogltk::glbase::is2D(); @@ -143,4 +144,25 @@ void mogltk::Sprite::draw(int dx, int dy, ColorP c) { if (!was2D) mogltk::glbase::Leave2DMode(); +#endif +} + +void mogltk::Sprite::Bind() { + tlist->Bind(); +} + +int mogltk::Sprite::GetPX() { + return posx; +} + +int mogltk::Sprite::GetPY() { + return posy; +} + +int mogltk::Sprite::GetSX() { + return sx; +} + +int mogltk::Sprite::GetSY() { + return sy; } |