blob: c74ccfdc25ce23f9982f974b287925558ecb0419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include <raylib.h>
#include "ConstantVelocity.h"
#include "Generator.h"
struct ExampleGenerator : public Generator
{
explicit ExampleGenerator(ConstantVelocityBullet::Vector& bullets);
void update(float dt) override;
ConstantVelocityBullet::Vector& m_bullets;
float m_delay;
float m_interval;
float m_cone;
float m_angle;
int m_speed;
int m_shift;
int m_segments;
Color m_color;
};
|