My Project
 
Loading...
Searching...
No Matches
alchemypot.h
Go to the documentation of this file.
1#pragma once
2#include "typedefine.h"
3#include "wndbag.h"
4#include "item.h"
5
6class Hero;
8private:
9 static const String TXT_SELECT_SEED;
10
11 static Hero* hero;
12 static int pos;
13
14 class WndBagListenerNew :public WndBag::Listener{
15 public:
16 virtual void onSelect(Item* item){
17 if (item != NULL){
18 item->cast(AlchemyPot::hero, AlchemyPot::pos);
19 }
20 }
21 };
22
23 static WndBag::Listener* itemSelector;
24public:
25 static void operate(Hero* hero, int pos);
26};
Definition alchemypot.h:7
static void operate(Hero *hero, int pos)
Definition alchemypot.cpp:13
Definition hero.h:18
Definition item.h:15
virtual void cast(Hero *user, int dst)
Definition item.cpp:251
Definition wndbag.h:23
std::string String
Definition typedefine.h:8