Schiene.cpp 204 B

123456789101112
  1. #include "Schiene.h"
  2. Schiene::Schiene( int id, int x, int y, int width, int height )
  3. : GameObject( SCHIENE, x, y, width, height )
  4. {
  5. this->id = id;
  6. }
  7. int Schiene::getId() const
  8. {
  9. return id;
  10. }