Area computation added.

This commit is contained in:
2023-08-31 17:00:30 -04:00
parent 43c2b35e30
commit 4b701e3ff3

View File

@@ -137,3 +137,7 @@ func (m *Manager) SceneCount() uint {
func (m *Manager) GetScene(sceneId uint) Scene {
return m.scenes[sceneId]
}
func (a *Area) Area() int {
return a.Height * a.Width
}