Implemented hoe
This commit is contained in:
43
src/components/items/Hoe.cpp
Normal file
43
src/components/items/Hoe.cpp
Normal 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 */
|
Reference in New Issue
Block a user