Advertisement
KevinS27

Untitled

Mar 19th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. //File : Cell.hpp
  2.  
  3. #ifndef CELL_HPP
  4. #define CELL_HPP
  5. #include <iostream>
  6. #include "Renderable.hpp"
  7. #include "Point.hpp"
  8.  
  9. using namespace std;
  10.  
  11. class Cell : public Renderable {
  12.   private :
  13.     /// Posisi cell (Absis dan Ordinat).
  14.     Point P;
  15.  
  16.   public :
  17.     /// ctor.
  18.     Cell();
  19.     /// ctor.
  20.     Cell(int _X, int _Y);
  21.     /// getter X.
  22.     int getX();
  23.     /// getter Y.
  24.     int getY();
  25. };
  26.  
  27. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement