Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
enhancement.h
Go to the documentation of this file.
1 #ifndef _ENHANCER_H_
2 #define _ENHANCER_H_
3 #include "enhancement_generic.h"
4 #include "cmd/unit.h"
5 #include "savegame.h"
6 
7 class GameEnhancement : public GameUnit< Enhancement >
8 {
9  friend class UnitFactory;
10 protected:
12  GameEnhancement( const char *filename,
13  int faction,
14  const string &modifications,
15  Flightgroup *flightgrp = NULL,
16  int fg_subnumber = 0 ) :
17  GameUnit< Enhancement > ( filename, false, faction, modifications, flightgrp, fg_subnumber )
18  {
19  string file( filename );
20  this->filename = filename;
21  }
22 private:
26  GameEnhancement( const Enhancement& );
28  GameEnhancement& operator=( const Enhancement& );
29 };
30 
31 #endif
32