summaryrefslogtreecommitdiffhomepage
path: root/ExampleGenerator.h
blob: 16c9fc2aabecb89f237d512e270d856eac5a018d (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 "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;
    int m_speed;
    int m_shift;
    int m_segments;
    Vector2 m_origin;
};