aa6df65e97
Also created Rectangle/Circle subclasses for sprite to handle collision detection and moved collision detection from World to CollisionModel (static methods).
18 lines
348 B
C++
Executable file
18 lines
348 B
C++
Executable file
/*
|
|
* Particle.cpp
|
|
*
|
|
* Created on: 15.08.2012
|
|
* Author: Felix
|
|
*/
|
|
|
|
#include "Particle.h"
|
|
|
|
Particle::Particle(const sf::Vector2f& position, Category category,
|
|
unsigned short mask, const Yaml& config,
|
|
const sf::Vector2f& direction) :
|
|
Circle(position, category, mask, config, direction) {
|
|
}
|
|
|
|
Particle::~Particle() {
|
|
}
|
|
|