コード例 #1
0
 public static void DrawTileMap(CameraFocus focus)
 {
     DrawTileMap(focus.FocusedTiles);
 }
コード例 #2
0
        public CameraFocus GetFocus()
        {
            CameraFocus focus = new CameraFocus();

            focus.SetNumberColumnsToDraw(MaxColsToDraw);
            focus.SetNumRowsToDraw(MaxRowsToDraw);
            focus.SetStartColumn(StartCol);
            focus.SetStartRow(StartRow);
            focus.SetFocusedTiles(GetFocusedTiles());

            return focus;
        }