添加Lesson20

This commit is contained in:
2025-10-24 21:47:11 +08:00
parent 0fa8be7459
commit ed22d4bcbd
12 changed files with 612 additions and 0 deletions
@@ -26,6 +26,12 @@
Position.Y = 5;
Direction = E_Direction.Right;
}
public Snake(int x, int y,E_Direction direction)
{
Position.X = x;
Position.Y = y;
Direction = direction;
}
public void Move()
{