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-2023 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 }
net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.lightVisible
boolean lightVisible
The visibility of the light.
Definition: AbstractMapViewSettings.java:43
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.saveLightVisible
void saveLightVisible(final boolean lightVisible)
Saves the lightVisible value.
Definition: TestMapViewSettings.java:45
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.saveAutojoin
void saveAutojoin(final boolean autojoin)
Saves the autojoin value.
Definition: TestMapViewSettings.java:100
net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.tileStretching
boolean tileStretching
Whether tile-stretching display is active.
Definition: AbstractMapViewSettings.java:53
net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.smoothing
boolean smoothing
Whether smoothing display is active.
Definition: AbstractMapViewSettings.java:48
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.saveDoubleFaces
void saveDoubleFaces(final boolean doubleFaces)
Saves the doubleFaces value.
Definition: TestMapViewSettings.java:75
net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.gridVisible
boolean gridVisible
The visibility of the grid.
Definition: AbstractMapViewSettings.java:38
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.loadLightVisible
boolean loadLightVisible()
Loads the default value for lightVisible.
Definition: TestMapViewSettings.java:40
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.loadAlphaType
int loadAlphaType()
Loads the default value for alphaType.
Definition: TestMapViewSettings.java:80
net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings
Abstract base class for MapViewSettings implementations.
Definition: AbstractMapViewSettings.java:33
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.saveAlphaType
void saveAlphaType(final int alphaType)
Saves the alphaType value.
Definition: TestMapViewSettings.java:85
net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.doubleFaces
boolean doubleFaces
Whether double faces should be drawn double height.
Definition: AbstractMapViewSettings.java:58
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.saveGridVisible
void saveGridVisible(final boolean gridVisible)
Saves the gridVisible value.
Definition: TestMapViewSettings.java:35
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings
A MapViewSettings implementation for regression tests.
Definition: TestMapViewSettings.java:27
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.loadAutojoin
boolean loadAutojoin()
Loads the default value for autojoin.
Definition: TestMapViewSettings.java:95
net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.alphaType
int alphaType
Bit field of edit types to show transparent.
Definition: AbstractMapViewSettings.java:63
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.loadTileStretching
boolean loadTileStretching()
Loads the default value for tileStretching.
Definition: TestMapViewSettings.java:60
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.saveSmoothing
void saveSmoothing(final boolean smoothing)
Saves the smoothing value.
Definition: TestMapViewSettings.java:55
net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.autojoin
boolean autojoin
Whether autojoining is on/off.
Definition: AbstractMapViewSettings.java:73
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.loadDoubleFaces
boolean loadDoubleFaces()
Loads the default value for doubleFaces.
Definition: TestMapViewSettings.java:70
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.loadEditType
int loadEditType()
Loads the default value for editType.
Definition: TestMapViewSettings.java:90
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.loadGridVisible
boolean loadGridVisible()
Loads the default value for gridVisible.
Definition: TestMapViewSettings.java:30
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.saveTileStretching
void saveTileStretching(final boolean tileStretching)
Saves the tileStretching value.
Definition: TestMapViewSettings.java:65
net.sf.gridarta.model.mapviewsettings.TestMapViewSettings.loadSmoothing
boolean loadSmoothing()
Loads the default value for smoothing.
Definition: TestMapViewSettings.java:50