X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2FEntities%2FWindParticle.cpp;h=786bb78290a6100278ad01f073dd150ba066315c;hb=60addc0838dad313d5d76247fa2665c20fea7689;hp=25b48ed1114a00ebb5fa33c85a610f560c32c9e0;hpb=ad9f1fb6bdfc51df61a7fb52d607ca0c0bceca4c;p=physics.git diff --git a/src/Entities/WindParticle.cpp b/src/Entities/WindParticle.cpp index 25b48ed..786bb78 100644 --- a/src/Entities/WindParticle.cpp +++ b/src/Entities/WindParticle.cpp @@ -1,8 +1,29 @@ +/* + * Copyright (C) 2008 Patrik Gornicz, Gornicz_P (at) hotmail (dot) com. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include "WindParticle.h" -#include "../Vector2.h" -/// ***** Public Class Methods ***** -WindParticle::WindParticle(Vector2 org, float life_time) +#include +using namespace bear; + + +/// ***** Constructors/Destructors ***** + +WindParticle::WindParticle(const Vector2& org, float life_time) : Point(org, life_time) { @@ -12,6 +33,8 @@ WindParticle::~WindParticle() } +/// ***** Public Class Methods ***** + void WindParticle::update(float time_step) { Point::update(time_step);