fix
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m43s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m43s
This commit is contained in:
27
types.go
27
types.go
@@ -1,18 +1,27 @@
|
||||
package main
|
||||
|
||||
// shared/types.go (oder types.go im Hauptverzeichnis)
|
||||
|
||||
type ObstacleDef struct {
|
||||
ID string `json:"id"`
|
||||
Type string `json:"type"`
|
||||
Width float64 `json:"width"`
|
||||
Height float64 `json:"height"`
|
||||
Color string `json:"color"`
|
||||
Image string `json:"image"`
|
||||
ID string `json:"id"`
|
||||
Type string `json:"type"`
|
||||
Width float64 `json:"width"`
|
||||
Height float64 `json:"height"`
|
||||
Color string `json:"color"`
|
||||
Image string `json:"image"`
|
||||
|
||||
// Visuelle Anpassungen
|
||||
ImgScale float64 `json:"imgScale"`
|
||||
ImgOffsetX float64 `json:"imgOffsetX"`
|
||||
ImgOffsetY float64 `json:"imgOffsetY"`
|
||||
|
||||
// Logik
|
||||
CanTalk bool `json:"canTalk"`
|
||||
SpeechLines []string `json:"speechLines"`
|
||||
YOffset float64 `json:"yOffset"`
|
||||
ImgScale float64 `json:"imgScale"`
|
||||
ImgOffsetX float64 `json:"imgOffsetX"`
|
||||
ImgOffsetY float64 `json:"imgOffsetY"`
|
||||
|
||||
// NEU: Verhindert, dass dieses Objekt vom Zufallsgenerator ausgewählt wird
|
||||
NoRandomSpawn bool `json:"noRandomSpawn"`
|
||||
}
|
||||
|
||||
type ChunkObstacle struct {
|
||||
|
||||
Reference in New Issue
Block a user