更改蛇眼颜色为黑色

This commit is contained in:
flykhan 2023-02-22 15:21:05 +08:00
parent 181a8f0c7b
commit 0efbc830ae
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ export class Snake extends AcGameObject {
// 绘制蛇眼睛
// 定义眼睛颜色
ctx.fillStyle = "#fbff00";
ctx.fillStyle = "#000000";
// 定义蛇眼睛大小
const snake_eye_size = 0.07 * L;
// 画眼睛