Quelcode des Partikelsystems Boden
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

attractor.cpp 628B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //
  2. // attractor.cpp
  3. // emptyExample
  4. //
  5. // Created by Sebastian Holzki on 16.04.19.
  6. //
  7. #pragma once
  8. #include "attractor.hpp"
  9. Attractor::Attractor(){
  10. }
  11. // ------------------------------------
  12. Attractor::~Attractor(){
  13. }
  14. // ------------------------------------
  15. float Attractor::getX(){
  16. return x;
  17. }
  18. // ------------------------------------
  19. float Attractor::getY(){
  20. return y;
  21. }
  22. // ------------------------------------
  23. void Attractor::setX(float _x){
  24. x = _x;
  25. }
  26. // ------------------------------------
  27. void Attractor::setY(float _y){
  28. y = _y;
  29. }