mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-18 06:12:38 -06:00
docs: add more TODOs
This commit is contained in:
@@ -92,6 +92,7 @@ impl<'a> AnimatedTexture<'a> {
|
||||
direction: Direction,
|
||||
frame: u32,
|
||||
) {
|
||||
// TODO: If the frame we're targeting is in the opposite direction (due to self.reverse), we should pre-emptively reverse.
|
||||
let current = self.current_frame();
|
||||
self.render_static(canvas, position, direction, Some(current));
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ use sdl2::keyboard::Keycode;
|
||||
use sdl2::render::{Texture, TextureCreator};
|
||||
use sdl2::video::WindowContext;
|
||||
use sdl2::{pixels::Color, render::Canvas, video::Window};
|
||||
use tracing::event;
|
||||
|
||||
use crate::constants::{MapTile, BOARD_HEIGHT, BOARD_WIDTH, RAW_BOARD};
|
||||
use crate::direction::Direction;
|
||||
|
||||
Reference in New Issue
Block a user