示例#1
0
        public Player(Texture2D texture, Area area)
        {
            this.texture = texture;
            width = texture.Width;
            height = texture.Height;

            GotoNewArea(area);
        }
示例#2
0
 public void GotoNewArea(Area area)
 {
     pos = area.AreaPath.Start;
     currentArea = area;
 }