OSDN Git Service

f15068af672422f980c2e16a7606e4e4bee55be6
[hengbandforosx/hengbandosx.git] / src / player-info / alignment.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 enum class update_alignment_type {
6     ALIGNMENT_SUBSTITUTION,
7     ALIGNMENT_ADDTION,
8     ALIGNMENT_SUBTRACTION,
9 };
10
11 struct player_type;
12 class PlayerAlignment {
13 public:
14     PlayerAlignment(player_type *creature_ptr);
15     PlayerAlignment() = delete;
16     virtual ~PlayerAlignment() = default;
17     concptr get_alignment_description(bool with_value = false);
18 private:
19     player_type *creature_ptr;
20     concptr alignment_label();
21 };