game_object.cpp 304 B

1234567891011121314151617
  1. /* This file is part of Invaders.
  2. *
  3. * Copyright (C) 2020 LCM.
  4. * You may use, distribute and modify Invaders under the terms of the
  5. * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
  6. */
  7. #include "game_object.hpp"
  8. game_object::game_object(int X,int Y,int ID){
  9. x=X,
  10. y=Y;
  11. id=ID;
  12. }