OSDN Git Service

[Refactor] #2522 player-blindness.cpp/h ファイルを定義した (まだPlayerTypeからは呼び出されない)
[hengbandforosx/hengbandosx.git] / src / timed-effect / player-blindness.h
1 #pragma once
2
3 class PlayerBlindness {
4 public:
5     PlayerBlindness() = default;
6
7     short current() const;
8     bool is_blind() const;
9     void set(short value);
10     void reset();
11
12 private:
13     short blindness = 0;
14 };