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

use sdl2::rect::{Point, Rect}; use sdl2::rect::{Point, Rect};
use std::time::Duration; use std::time::Duration;


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


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

Loading…
Cancel
Save