瀏覽代碼

Update player speed

master
Noëlle Anthony 4 年之前
父節點
當前提交
7e0b323339
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/main.rs

+ 1
- 1
src/main.rs 查看文件

@@ -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…
取消
儲存