Gridarta Editor
TestMapViewSettings.java
Go to the documentation of this file.
1 /*
2  * Gridarta MMORPG map editor for Crossfire, Daimonin and similar games.
3  * Copyright (C) 2000-2015 The Gridarta Developers.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 package net.sf.gridarta.model.mapviewsettings;
21 
28 
29  @Override
30  protected boolean loadGridVisible() {
31  return false;
32  }
33 
34  @Override
35  protected void saveGridVisible(final boolean gridVisible) {
36  // ignore
37  }
38 
39  @Override
40  protected boolean loadLightVisible() {
41  return false;
42  }
43 
44  @Override
45  protected void saveLightVisible(final boolean lightVisible) {
46  // ignore
47  }
48 
49  @Override
50  protected boolean loadSmoothing() {
51  return false;
52  }
53 
54  @Override
55  protected void saveSmoothing(final boolean smoothing) {
56  // ignore
57  }
58 
59  @Override
60  protected boolean loadTileStretching() {
61  return false;
62  }
63 
64  @Override
65  protected void saveTileStretching(final boolean tileStretching) {
66  // ignore
67  }
68 
69  @Override
70  protected boolean loadDoubleFaces() {
71  return false;
72  }
73 
74  @Override
75  protected void saveDoubleFaces(final boolean doubleFaces) {
76  // ignore
77  }
78 
79  @Override
80  protected int loadAlphaType() {
81  return 0;
82  }
83 
84  @Override
85  protected void saveAlphaType(final int alphaType) {
86  // ignore
87  }
88 
89  @Override
90  protected int loadEditType() {
91  return 0;
92  }
93 
94  @Override
95  protected boolean loadAutojoin() {
96  return false;
97  }
98 
99  @Override
100  protected void saveAutojoin(final boolean autojoin) {
101  // ignore
102  }
103 
104 }
Abstract base class for MapViewSettings implementations.
boolean doubleFaces
Whether double faces should be drawn double height.
boolean tileStretching
Whether tile-stretching display is active.
int alphaType
Bit field of edit types to show transparent.
A MapViewSettings implementation for regression tests.