summaryrefslogtreecommitdiff
path: root/engine/enemy.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-10-05 07:00:49 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-10-05 07:00:49 +0200
commita24cc110acebb3fc1b40a38d08f737bf09b15e54 (patch)
tree7859d031542270700da3b59d7b9f6927ec8b8076 /engine/enemy.cpp
parent5572a8133963447bc60098d952cebfe3902dad27 (diff)
Moved from TextureSTBI to Texture.
Diffstat (limited to 'engine/enemy.cpp')
-rw-r--r--engine/enemy.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/enemy.cpp b/engine/enemy.cpp
index 6d1bdad..a7aba0f 100644
--- a/engine/enemy.cpp
+++ b/engine/enemy.cpp
@@ -1,13 +1,11 @@
#include "enemy.h"
-#include <wriggle/texturestbi.h>
-
#include <wriggle/gl.h>
Enemy::Enemy(const Vector2& initpos, std::vector<BulletPattern*>& stage_patterns) : patterns(stage_patterns) {
pos = initpos;
- texture = new TextureSTBI("textures/enemy.png");
+ texture = new Texture("textures/enemy.png");
}
void Enemy::update() {