Added world loading and other various improvements
This commit is contained in:
@@ -9,14 +9,13 @@
|
||||
Enemy::Enemy(const std::string &fileName,
|
||||
const Vec3f &position,
|
||||
Vec3f &rotation,
|
||||
const float &scale,
|
||||
const bool &hasCollision)
|
||||
const float &scale)
|
||||
{
|
||||
model = Model::load(fileName);
|
||||
this->position = position;
|
||||
this->rotation = rotation;
|
||||
this->scale = scale;
|
||||
this->canCollide = hasCollision;
|
||||
this->canCollide = true;
|
||||
target = position;
|
||||
speed = 1;
|
||||
radius = 10;
|
||||
|
||||
Reference in New Issue
Block a user