From 9b81a4b423dc8a85ef8616eb30e156139ae670ce Mon Sep 17 00:00:00 2001 From: Alain Gilbert Date: Fri, 19 Aug 2022 17:03:41 -0700 Subject: [PATCH] add GetType to ogame celestial interface --- pkg/ogame/interfaces.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/ogame/interfaces.go b/pkg/ogame/interfaces.go index 60d63bd0..1f7316c4 100644 --- a/pkg/ogame/interfaces.go +++ b/pkg/ogame/interfaces.go @@ -11,6 +11,7 @@ type Celestial interface { GetID() CelestialID GetImg() string GetName() string + GetType() CelestialType } // BaseOgameObj base interface for all ogame objects (buildings, technologies, ships, defenses)