feat(wip): 경매 입찰 기능
This commit is contained in:
@@ -6,4 +6,13 @@ enum ResourceType: string
|
||||
case gold = 'gold';
|
||||
case rice = 'rice';
|
||||
case inheritancePoint = 'inheritancePoint';
|
||||
|
||||
public function getName(): string
|
||||
{
|
||||
return match($this){
|
||||
ResourceType::gold => '금',
|
||||
ResourceType::rice => '쌀',
|
||||
ResourceType::inheritancePoint => '유산 포인트',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user