final
This commit is contained in:
parent
7ee843d29e
commit
524e034e7c
11 changed files with 11 additions and 11 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
struct PieceButin;
|
||||
|
||||
class Butin : private Jeu {
|
||||
class Butin final : private Jeu {
|
||||
friend std::ostream &operator<<(std::ostream &, const Butin &);
|
||||
|
||||
// Plateau de jeu
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "../Piece.hpp"
|
||||
#include "Butin.hpp"
|
||||
|
||||
struct PieceButin : public Piece {
|
||||
struct PieceButin final : public Piece {
|
||||
enum Categorie {
|
||||
Jaune = 1,
|
||||
Rouge = 2,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "../Plateau.hpp"
|
||||
#include <vector>
|
||||
|
||||
struct PlateauButin : public Plateau {
|
||||
struct PlateauButin final : public Plateau {
|
||||
PlateauButin();
|
||||
virtual ~PlateauButin();
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
struct PieceDames;
|
||||
|
||||
class Dames : private Jeu {
|
||||
class Dames final : private Jeu {
|
||||
friend std::ostream &operator<<(std::ostream &, const Dames &);
|
||||
|
||||
// Plateau de jeu
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "../Piece.hpp"
|
||||
|
||||
struct PieceDames : public Piece {
|
||||
struct PieceDames final : public Piece {
|
||||
enum Categorie {
|
||||
Blanche,
|
||||
Noire,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "../Joueur.hpp"
|
||||
#include "../Plateau.hpp"
|
||||
|
||||
struct PlateauDames : public Plateau {
|
||||
struct PlateauDames final : public Plateau {
|
||||
PlateauDames(Joueur &joueur1, Joueur &joueur2);
|
||||
virtual ~PlateauDames();
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <SFML/Graphics.hpp>
|
||||
#include <functional>
|
||||
|
||||
class Ecran {
|
||||
class Ecran final {
|
||||
static const uint bottomTxtPadding = 30;
|
||||
|
||||
static std::string message;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "../includes/Piece.hpp"
|
||||
#include <vector>
|
||||
|
||||
class Joueur {
|
||||
class Joueur final {
|
||||
friend std::ostream &operator<<(std::ostream &, const Joueur &);
|
||||
|
||||
// Numéro du joueur
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "../Piece.hpp"
|
||||
|
||||
struct PieceSafari : public Piece {
|
||||
struct PieceSafari final : public Piece {
|
||||
enum Categorie {
|
||||
Barriere,
|
||||
Elephant,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "../Plateau.hpp"
|
||||
#include "PieceSafari.hpp"
|
||||
|
||||
struct PlateauSafari : public Plateau {
|
||||
struct PlateauSafari final : public Plateau {
|
||||
PlateauSafari();
|
||||
virtual ~PlateauSafari();
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "PieceSafari.hpp"
|
||||
#include "PlateauSafari.hpp"
|
||||
|
||||
class Safari : private Jeu {
|
||||
class Safari final : private Jeu {
|
||||
friend std::ostream &operator<<(std::ostream &, const Safari &);
|
||||
|
||||
// Plateau de jeu
|
||||
|
|
Reference in a new issue