summaryrefslogtreecommitdiff
path: root/src/game-server/buysell.h
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-04-10 23:04:42 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-04-11 13:47:17 +0200
commitd7fa7ea64f6bb0bc0b097e4bf1ceb4bd9620d0da (patch)
tree1b4d200ba66c6afcdb7763951980476756339cf1 /src/game-server/buysell.h
parentaa04597c5f8bb806996d604699fc8ebff6d53bdd (diff)
downloadmanaserv-d7fa7ea64f6bb0bc0b097e4bf1ceb4bd9620d0da.tar.gz
manaserv-d7fa7ea64f6bb0bc0b097e4bf1ceb4bd9620d0da.tar.bz2
manaserv-d7fa7ea64f6bb0bc0b097e4bf1ceb4bd9620d0da.tar.xz
manaserv-d7fa7ea64f6bb0bc0b097e4bf1ceb4bd9620d0da.zip
Converted Being into a Component
I did not really care too much about staying consistent with the use of static_casts to Actors since they are only temporary anyway until Actor is a component too.
Diffstat (limited to 'src/game-server/buysell.h')
-rw-r--r--src/game-server/buysell.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game-server/buysell.h b/src/game-server/buysell.h
index 8450aff1..88904f4d 100644
--- a/src/game-server/buysell.h
+++ b/src/game-server/buysell.h
@@ -23,8 +23,8 @@
#include <vector>
-class Being;
class Actor;
+class Entity;
class BuySell
{
@@ -33,7 +33,7 @@ class BuySell
/**
* Sets up a trade between a character and an NPC.
*/
- BuySell(Being *, bool sell);
+ BuySell(Actor *, bool sell);
/**
* Cancels the trade.
@@ -80,7 +80,7 @@ class BuySell
/** The attribute ID of the currency to use. Hardcoded for now (FIXME) */
unsigned mCurrencyId;
- Being *mChar; /**< Character involved. */
+ Actor *mChar; /**< Character involved. */
TradedItems mItems; /**< Traded items. */
bool mSell; /**< Are items sold? */
};