- Enterprises have action type, money, salary and bankruption status - Enterprise add and multiply functions replaced with setters - Delivery contracts have cost, distance and sponsor reference. Value renamed to amount - Integer values use static sizes types - Action CONTAIN renamed to STORE - Enterprises skip their action if is bankrupt - Delivering transfers money from sponsor to deliverer due contract - Enterprise routine system processes salaries and bankruptcy - ee_ecs data structures renamed with snake_case - Get enterprises info request
11 lines
166 B
C++
11 lines
166 B
C++
#pragma once
|
|
#include <ee_economy/economy.hpp>
|
|
#include <entt/entt.hpp>
|
|
|
|
namespace ee_economy
|
|
{
|
|
struct miner
|
|
{
|
|
RESOURCE_TYPE resource = RESOURCE_TYPE::NONE;
|
|
};
|
|
} |