From 5c7a5256bde8620515b73ee6771de90c6dfd8d13 Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Mon, 30 Jan 2023 07:43:46 +0300 Subject: [PATCH] rename get interface method --- games/minecraftgame/minecraftgame.go | 2 +- games/skirdagame/skirdagame.go | 2 +- games/steamgame/steamgame.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/games/minecraftgame/minecraftgame.go b/games/minecraftgame/minecraftgame.go index 1a91372..8d5acd3 100644 --- a/games/minecraftgame/minecraftgame.go +++ b/games/minecraftgame/minecraftgame.go @@ -14,7 +14,7 @@ func (game MinecraftGame) GetSkirdaGameId() string { return game.SkirdaGameId } -func (game MinecraftGame) GetInterfaceAsset() skirdagame.GameUIAssets { +func (game MinecraftGame) GetUIAssets() skirdagame.GameUIAssets { return game.Assets } diff --git a/games/skirdagame/skirdagame.go b/games/skirdagame/skirdagame.go index af6909c..6f5e095 100644 --- a/games/skirdagame/skirdagame.go +++ b/games/skirdagame/skirdagame.go @@ -4,7 +4,7 @@ import "errors" type SkirdaGame interface { GetSkirdaGameId() string - GetInterfaceAsset() GameUIAssets + GetUIAssets() GameUIAssets GetLaunchArgs() []string GetType() string } diff --git a/games/steamgame/steamgame.go b/games/steamgame/steamgame.go index 9fd0dc7..e33e866 100644 --- a/games/steamgame/steamgame.go +++ b/games/steamgame/steamgame.go @@ -15,7 +15,7 @@ func (game SteamGame) GetSkirdaGameId() string { return game.SkirdaGameId } -func (game SteamGame) GetInterfaceAsset() skirdagame.GameUIAssets { +func (game SteamGame) GetUIAssets() skirdagame.GameUIAssets { return game.Assets }