添加Lesson20
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user