Browse Source

Update player speed

master
Noëlle Anthony 4 years ago
parent
commit
7e0b323339
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main.rs

+ 1
- 1
src/main.rs View File

@@ -6,7 +6,7 @@ use sdl2::image::{self, LoadTexture, InitFlag};
use sdl2::rect::{Point, Rect};
use std::time::Duration;

const PLAYER_MOVEMENT_SPEED: i32 = 10;
const PLAYER_MOVEMENT_SPEED: i32 = 5;

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
enum Direction {

Loading…
Cancel
Save