-/*
- * Hero.cpp
- *
- * Created on: Oct 7, 2012
- * Author: holy
- */
-
#include "Hero.h"
#include "Item.h"
#include "../loader/TypeDescription.h"
#include "../map/Entity.h"
+#include <cstring>
+
using graphics::Animation;
using graphics::Sprite;
using loader::FieldDescription;
using loader::Interpreter;
using loader::TypeDescription;
using map::Entity;
+using std::memset;
+
namespace common {
, useMask(0)
-, weapon(0)
-, armor(0)
-, shield(0)
-, helmet(0)
-, ring(0)
-, jewel(0)
-
, battleSprite(0)
, meleeAnimation(0)
, attackAnimation(0)
, spellAnimation(0) {
-
+ memset(equipment, 0, sizeof(equipment));
}