YAPOG  0.0.1
Yet Another Pokemon Online Game
SkillInfo.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_SKILLINFO_HPP
2 # define YAPOG_SKILLINFO_HPP
3 
4 # include "YAPOG/Macros.hpp"
5 # include "YAPOG/Game/ID.hpp"
6 # include "YAPOG/System/String.hpp"
10 
11 namespace yap
12 {
14  {
15  public:
16  SkillInfo ();
17  SkillInfo (const ID& id);
18  SkillInfo (const SkillInfo& copy);
19 
22  virtual SkillInfo* Clone () const;
24 
26  const ID& GetID () const;
27  const String& GetName () const;
28  const String& GetDescription () const;
29  const UInt16& GetPower () const;
30  const UInt16& GetPP () const;
31  const UInt16& GetMaxPP () const;
32  const UInt16& GetAccuracy () const;
33  const TypeInfo& GetType () const;
34  const UInt16& GetCategory () const;
35  const UInt16& GetTarget () const;
36  const UInt16& GetEffect () const;
37  const UInt16& GetUse () const;
38  const UInt16& GetPriority () const;
39 
41  void SetID (const ID& id);
42  void SetName (const String& name);
43  void SetDescription (const String& description);
44  void SetPower (const UInt16& value);
45  void SetPP (const UInt16& value);
46  void SetMaxPP (const UInt16& value);
47  void SetAccuracy (const UInt16& value);
48  void SetType (const TypeInfo& value);
49  void SetCategory (const UInt16& value);
50  void SetTarget (const UInt16& value);
51  void SetEffect (const UInt16& value);
52  void SetUse (const UInt16& value);
53  void SetPriority (const UInt16& value);
54 
55  private:
69 
70  static const ID DEFAULT_ID;
71  static const String DEFAULT_NAME;
73  static const UInt16 DEFAULT_POWER;
74  static const UInt16 DEFAULT_PP;
75  static const UInt16 DEFAULT_MAX_PP;
76  static const UInt16 DEFAULT_ACCURACY;
77  static const TypeInfo DEFAULT_TYPE;
78  static const UInt16 DEFAULT_CATEGORY;
79  static const UInt16 DEFAULT_TARGET;
80  static const UInt16 DEFAULT_EFFECT;
81  static const UInt16 DEFAULT_USE;
82  static const UInt16 DEFAULT_PRIORITY;
83  };
84 } // namespace yap
85 
86 #endif // YAPOG_SKILLINFO_HPP