Graine
Génération procédurale de créatures et apprentissage par réseaux de neurones.
ObjectMap.hpp
Go to the documentation of this file.
1 #ifndef OBJECT_MAP
2 #define OBJECT_MAP
3 
4  #include <iostream>
5  #include <string>
6  #include <vector>
7  #include "TypeObject.hpp"
8 
9  class ObjectMap{
10 
11  private:
12  int id;
13 
14  public:
15  ObjectMap(int id);
16  ~ObjectMap();
17  int getId();
18  virtual TypeObject getType() = 0;
19 
20  bool operator==(ObjectMap const& other);
21  bool operator!=(ObjectMap const& other);
22  };
23 
24 #endif
bool operator==(ObjectMap const &other)
Definition: ObjectMap.cpp:15
TypeObject
Definition: TypeObject.hpp:4
bool operator!=(ObjectMap const &other)
Definition: ObjectMap.cpp:19
ObjectMap(int id)
Definition: ObjectMap.cpp:3
Definition: ObjectMap.hpp:9
int getId()
Definition: ObjectMap.cpp:11
virtual TypeObject getType()=0
~ObjectMap()
Definition: ObjectMap.cpp:7