更改蛇眼颜色为黑色
This commit is contained in:
parent
181a8f0c7b
commit
0efbc830ae
|
@ -229,7 +229,7 @@ export class Snake extends AcGameObject {
|
|||
|
||||
// 绘制蛇眼睛
|
||||
// 定义眼睛颜色
|
||||
ctx.fillStyle = "#fbff00";
|
||||
ctx.fillStyle = "#000000";
|
||||
// 定义蛇眼睛大小
|
||||
const snake_eye_size = 0.07 * L;
|
||||
// 画眼睛
|
||||
|
|
Loading…
Reference in New Issue