コード例 #1
0
        public override Loc GetActionPoint(CharSheet sheet, ActionPointType pointType)
        {
            Loc midTileOffset = new Loc(GraphicsManager.TileSize / 2);

            return(MapLoc + midTileOffset + drawOffset + sheet.GetActionPoint(charFrameType, false, DirExt.AddAngles(CharDir, dirOffset), pointType, determineFrame));
        }
コード例 #2
0
 public override Loc GetActionPoint(CharSheet sheet, ActionPointType pointType)
 {
     return(MapLoc + Collider.Size / 2 + DrawOffset + sheet.GetActionPoint(AnimFrameType, false, DirExt.AddAngles(CharDir, dirOffset), pointType, FrameMethod));
 }