Skip to content

Commit

Permalink
add GetCoords() to environment.Television interface
Browse files Browse the repository at this point in the history
  • Loading branch information
JetSetIlly committed Oct 2, 2024
1 parent 4232b57 commit 2930bca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions environment/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package environment
import (
"github.com/jetsetilly/gopher2600/cartridgeloader"
"github.com/jetsetilly/gopher2600/hardware/preferences"
"github.com/jetsetilly/gopher2600/hardware/television/coords"
"github.com/jetsetilly/gopher2600/hardware/television/specification"
"github.com/jetsetilly/gopher2600/notifications"
"github.com/jetsetilly/gopher2600/random"
Expand All @@ -35,6 +36,7 @@ type Television interface {
GetSpecID() string
GetReqSpecID() string
SetRotation(specification.Rotation)
GetCoords() coords.TelevisionCoords
}

// Environment is used to provide context for an emulation. Particularly useful
Expand Down

0 comments on commit 2930bca

Please sign in to comment.