Remove some outdated TODOs and comments

This commit is contained in:
Sage Vaillancourt 2025-02-17 13:26:51 -05:00
parent 5c45b7bba0
commit 1ccf8765ee
4 changed files with 0 additions and 21 deletions

View File

@ -91,8 +91,6 @@ C.SmallestBallRadius = 6
C.BatLength = 35
-- TODO: enums implemented this way are probably going to be difficult to serialize!
---@alias OffenseState "batting" | "running" | "walking"
--- An enum for what state the offense is in
---@type table<string, OffenseState>

View File

@ -7,27 +7,13 @@ Transitions = {
local gfx = playdate.graphics
-- local function animateOut() end
-- local function animateIn() end
local previousSceneImage
local previousSceneMask
local nextSceneImage
-- local nextSceneOffScreen = false
-- local stillAnimating = false
-- TODO: Okay but like imagine.
-- Push a blank image context,
-- draw the previous scene on one side,
-- draw the next scene on the other,
-- SWING a bat to cover the seam.
local batImageTable = {}
local batOffset = 80
local degStep = 3
function loadBatImageTable()

View File

@ -5,8 +5,6 @@
--- @field target XyPair | nil
--- @field speed number
-- TODO: Run down baserunners in a pickle.
---@class Fielding
---@field fielders table<string, Fielder>
---@field fielderHoldingBall Fielder | nil

View File

@ -499,7 +499,6 @@ function Game:updateGameState()
self:updateBatting(self.state.batAngleDeg, batSpeed)
-- Walk batter to the plate
-- TODO: Ensure batter can't be nil, here
self.baserunning:updateRunner(self.baserunning.batter, nil, crankLimited, self.state.deltaSeconds)
if self.state.secondsSincePitchAllowed > C.PitchAfterSeconds then
@ -559,8 +558,6 @@ function Game:updateGameState()
actionQueue:runWaiting(self.state.deltaSeconds)
end
-- TODO: Swappable update() for main menu, etc.
function Game:update()
playdate.timer.updateTimers()
gfx.animation.blinker.updateAll()