28 lines
577 B
Go
28 lines
577 B
Go
|
package minecraftgame
|
||
|
|
||
|
import "git.gregbrzezinski.com/Skirda/skirdaGoLauncher/sharedutils/games/skirdagame"
|
||
|
|
||
|
const gameType = "minecraft"
|
||
|
|
||
|
type MinecraftGame struct {
|
||
|
SkirdaGameId string
|
||
|
Assets skirdagame.GameUIAssets
|
||
|
// CurrentVersion string
|
||
|
}
|
||
|
|
||
|
func (game MinecraftGame) GetSkirdaGameId() string {
|
||
|
return game.SkirdaGameId
|
||
|
}
|
||
|
|
||
|
func (game MinecraftGame) GetInterfaceAsset() skirdagame.GameUIAssets {
|
||
|
return game.Assets
|
||
|
}
|
||
|
|
||
|
func (game MinecraftGame) GetLaunchArgs() []string {
|
||
|
return []string{"", ""}
|
||
|
}
|
||
|
|
||
|
func (game MinecraftGame) GetType() string {
|
||
|
return gameType
|
||
|
}
|