summaryrefslogtreecommitdiffhomepage
path: root/ExampleGenerator.h
blob: 2710d03aa0f5777c36617aec71c761da03e428f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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;
    float m_direction;
    int m_speed;
    int m_shift;
    int m_segments;
    Color m_color;
};