OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of https://github.com/hengband/hengband
[hengbandforosx/hengbandosx.git]
/
src
/
object-use
/
use-execution.h
1
#pragma once
2
3
#include "system/angband.h"
4
5
class PlayerType;
6
class ObjectUseEntity {
7
public:
8
ObjectUseEntity(PlayerType *player_ptr, INVENTORY_IDX i_idx);
9
virtual ~ObjectUseEntity() = default;
10
11
void execute();
12
13
private:
14
PlayerType *player_ptr;
15
INVENTORY_IDX i_idx;
16
17
bool check_can_use();
18
};