52 void draw(SDL_Renderer* renderer);
83 void moveX(
float movement);
89 void moveY(
float movement);
void setPosition(JAM_Vec2 position)
Definition: Particle.cpp:44
float scaleValue
Definition: Particle.h:22
void moveX(float movement)
Definition: Particle.cpp:82
Creates a Particle object.
Definition: Particle.h:12
void setDirection(JAM_Vec2 direction)
Definition: Particle.cpp:109
JAM_Texture * texture
Definition: Particle.h:16
void moveY(float movement)
Definition: Particle.cpp:91
Creates a Texture for use with a renderer. Creates a Texture from an image file, this can then be use...
Definition: Texture.h:13
JAM_Particle(JAM_Texture *texture, float scaleValue, JAM_Vec2 direction, float moveSpeed, JAM_Vec2 position)
Definition: Particle.cpp:6
void draw(SDL_Renderer *renderer)
Definition: Particle.cpp:35
JAM_Vec2 position
Definition: Particle.h:20
float getScale()
Definition: Particle.cpp:145
JAM_Vec2 getDirection()
Definition: Particle.cpp:136
JAM_Vec2 direction
Definition: Particle.h:18
void setScale(float scaleValue)
Definition: Particle.cpp:64
void update(float dt)
Definition: Particle.cpp:26
void setMoveSpeed(float moveSpeed)
Definition: Particle.cpp:100
void move(JAM_Vec2 movement)
Definition: Particle.cpp:73
~JAM_Particle()
Definition: Particle.cpp:19
JAM_Vec2 getPosition()
Definition: Particle.cpp:127
float getMoveSpeed()
Definition: Particle.cpp:118
float moveSpeed
Definition: Particle.h:24
Creates an Vec2 structure with functions. Creates an Vec2 structure with overloaded operators to crea...
Definition: Vec2.h:9