MCPcopy Create free account
hub / github.com/OfficialCodeNoodles/2D-Minecraft / Particle

Method Particle

2D Minecraft v 1.0/src/entity/Particle.cpp:8–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7namespace engine {
8 Particle::Particle() :
9 type(Type::Generic),
10 mass(1.0f),
11 collisionEnabled(false),
12 rotation(0.0f),
13 rotationalSpeed(0.0f),
14 timeRemaining(-1),
15 active(false),
16 reserved(false)
17 {
18 }
19 Particle::Particle(Type type) : Particle() {
20 this->type = type;
21

Callers

nothing calls this directly

Calls 1

generateNormalizedFloatFunction · 0.85

Tested by

no test coverage detected