sharedutils/games/minecraftgame/minecraftgame.go

36 lines
742 B
Go

package minecraftgame
import "git.gregbrzezinski.com/Skirda/skirdaGoLauncher/sharedutils/games/skirdagame"
const gameType = "minecraft"
type MinecraftGame struct {
SkirdaGameId string
Assets skirdagame.GameUIAssets
Versions []string
}
func (game MinecraftGame) GetSkirdaGameId() string {
return game.SkirdaGameId
}
func (game MinecraftGame) GetUIAssets() skirdagame.GameUIAssets {
return game.Assets
}
func (game MinecraftGame) GetLaunchArgs() []string {
return []string{"", ""}
}
func (game MinecraftGame) GetType() string {
return gameType
}
func (game MinecraftGame) GetArguments() skirdagame.Arguments {
return skirdagame.Arguments{}
}
func (game MinecraftGame) GetVersions() []string {
return game.Versions
}