blob: 25c4ce39cfc6ea37bf03250f0a1aa69bd157de4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <raylib.h>
#include "Bullets.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;
int m_speed;
int m_shift;
int m_segments;
Vector2 m_origin;
};
|