rename get interface method

This commit is contained in:
cyber-dream 2023-01-30 07:43:46 +03:00
parent b2c1867430
commit 5c7a5256bd
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ func (game MinecraftGame) GetSkirdaGameId() string {
return game.SkirdaGameId return game.SkirdaGameId
} }
func (game MinecraftGame) GetInterfaceAsset() skirdagame.GameUIAssets { func (game MinecraftGame) GetUIAssets() skirdagame.GameUIAssets {
return game.Assets return game.Assets
} }

View File

@ -4,7 +4,7 @@ import "errors"
type SkirdaGame interface { type SkirdaGame interface {
GetSkirdaGameId() string GetSkirdaGameId() string
GetInterfaceAsset() GameUIAssets GetUIAssets() GameUIAssets
GetLaunchArgs() []string GetLaunchArgs() []string
GetType() string GetType() string
} }

View File

@ -15,7 +15,7 @@ func (game SteamGame) GetSkirdaGameId() string {
return game.SkirdaGameId return game.SkirdaGameId
} }
func (game SteamGame) GetInterfaceAsset() skirdagame.GameUIAssets { func (game SteamGame) GetUIAssets() skirdagame.GameUIAssets {
return game.Assets return game.Assets
} }