예제 #1
0
파일: Player.cs 프로젝트: DuncanKeller/Gust
        public Player(Texture2D texture, Area area)
        {
            this.texture = texture;
            width = texture.Width;
            height = texture.Height;

            GotoNewArea(area);
        }
예제 #2
0
파일: Player.cs 프로젝트: DuncanKeller/Gust
 public void GotoNewArea(Area area)
 {
     pos = area.AreaPath.Start;
     currentArea = area;
 }