From 2930bca10c5565d53e44ec545c5fd7c8fff85086 Mon Sep 17 00:00:00 2001 From: JetSetIlly Date: Tue, 1 Oct 2024 16:25:26 +0100 Subject: [PATCH] add GetCoords() to environment.Television interface --- environment/environment.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/environment/environment.go b/environment/environment.go index 9fde4f53..4cc81f6a 100644 --- a/environment/environment.go +++ b/environment/environment.go @@ -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" @@ -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