aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/Good.cpp
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-11-22 17:16:34 +0100
committer zaaarf <zaaarf@proton.me>2023-11-22 17:16:34 +0100
commit1683859e333f98fb63f1c72d926bb366a3b89f0b (patch)
treee11dde918a7f1f228d3383ba8f9287385e43b4f5 /src/openvic-simulation/economy/Good.cpp
parent5c6caf6fbb7c606f4ebe0c397cc15c97d776f13d (diff)
chore: use PROPERTY and its variants when possible
Diffstat (limited to 'src/openvic-simulation/economy/Good.cpp')
-rw-r--r--src/openvic-simulation/economy/Good.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/openvic-simulation/economy/Good.cpp b/src/openvic-simulation/economy/Good.cpp
index 4c1f7ba..b068644 100644
--- a/src/openvic-simulation/economy/Good.cpp
+++ b/src/openvic-simulation/economy/Good.cpp
@@ -16,38 +16,6 @@ Good::Good(
assert(base_price > NULL_PRICE);
}
-GoodCategory const& Good::get_category() const {
- return category;
-}
-
-Good::price_t Good::get_base_price() const {
- return base_price;
-}
-
-Good::price_t Good::get_price() const {
- return price;
-}
-
-bool Good::get_available_from_start() const {
- return available_from_start;
-}
-
-bool Good::get_available() const {
- return available;
-}
-
-bool Good::get_tradeable() const {
- return tradeable;
-}
-
-bool Good::get_money() const {
- return money;
-}
-
-bool Good::get_overseas_penalty() {
- return overseas_penalty;
-}
-
void Good::reset_to_defaults() {
available = available_from_start;
price = base_price;