Files
starruler-linux/source/game/scene/animation/anim_projectile.h
T
2018-07-17 14:15:37 +02:00

28 lines
423 B
C++

#pragma once
#include "animator.h"
#include "vec3.h"
namespace scene {
class ProjectileAnim : public Animator {
public:
vec3d velocity;
void animate(Node* node);
ProjectileAnim(const vec3d& Velocity);
};
class BeamAnim : public Animator {
scene::Node* follow;
vec3d offset;
float length;
public:
void animate(Node* node);
BeamAnim(Node* Follow, vec3d Offset, float range);
~BeamAnim();
};
};