コード例 #1
0
ファイル: StandardCharacter.cs プロジェクト: sakseichek/homm
        public void SetCell(Cell cell)
        {
            _cell._character = null;

            _cell = cell;
            _cell._character = this;

            Point pt = cell.GetStandingPoint();
            this._destAnimationPt = pt;
        }
コード例 #2
0
ファイル: StandardCharacter.cs プロジェクト: sakseichek/homm
 public void InitCell(Cell cell)
 {
     _cell = cell;
     Point pt = cell.GetStandingPoint();
     this._currentAnimationPt = pt;
     this._destAnimationPt = new Point(pt.X, pt.Y);
 }