16 lines
291 B
C++
16 lines
291 B
C++
#pragma once
|
|
|
|
#include "object.hpp"
|
|
|
|
namespace game {
|
|
class Ship : public Object {
|
|
public:
|
|
|
|
float radius;
|
|
glm::vec3 color;
|
|
|
|
Ship(size_t id, const glm::vec2 &pos, const glm::vec3 &c, float r) : Object(id, pos), radius(r), color(c)
|
|
{
|
|
}
|
|
};
|
|
}
|