Implemented hoe

This commit is contained in:
2016-12-02 22:48:37 +02:00
parent 33de4a8d1f
commit 91c0da855b
14 changed files with 174 additions and 53 deletions

View File

@@ -0,0 +1,43 @@
/*
* Hoe.cpp
*
* Created on: Dec 2, 2016
* Author: tibi
*/
#include <components/items/Hoe.h>
#include <iostream>
namespace farmlands {
namespace components {
namespace items {
Hoe::Hoe()
{
}
Hoe::~Hoe()
{
}
model::Component* Hoe::clone()
{
return new Hoe();
}
void Hoe::dump(unsigned level)
{
for (unsigned i = 0; i < level; i++)
std::cout<<" ";
std::cout << " .Component: Hoe\n";
}
void Hoe::performAttack(float x, float y, model::Direction d)
{
}
} /* namespace items */
} /* namespace components */
} /* namespace farmlands */