예제 #1
0
        public WCFGamePoint ToWCFGamePoint()
        {
            WCFGamePoint result = new WCFGamePoint();

            result.Id = this.Id;
            result.X  = this.X;
            result.Y  = this.Y;

            return(result);
        }
예제 #2
0
        static internal GamePoint ToGamePoint(this WCFGamePoint o)
        {
            GamePoint result = new GamePoint();

            result.Id = o.Id;
            result.X  = o.X;
            result.Y  = o.Y;

            return(result);
        }