001/*
002 * Gridarta MMORPG map editor for Crossfire, Daimonin and similar games.
003 * Copyright (C) 2000-2010 The Gridarta Developers.
004 *
005 * This program is free software; you can redistribute it and/or modify
006 * it under the terms of the GNU General Public License as published by
007 * the Free Software Foundation; either version 2 of the License, or
008 * (at your option) any later version.
009 *
010 * This program is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
013 * GNU General Public License for more details.
014 *
015 * You should have received a copy of the GNU General Public License along
016 * with this program; if not, write to the Free Software Foundation, Inc.,
017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
018 */
019
020package net.sf.gridarta.model.mapviewsettings;
021
022/**
023 * A {@link MapViewSettings} implementation for regression tests. The attribute
024 * values are not retained.
025 * @author Andreas Kirschbaum
026 */
027public class TestMapViewSettings extends AbstractMapViewSettings {
028
029    /**
030     * {@inheritDoc}
031     */
032    @Override
033    protected boolean loadGridVisible() {
034        return false;
035    }
036
037    /**
038     * {@inheritDoc}
039     */
040    @Override
041    protected void saveGridVisible(final boolean gridVisible) {
042        // ignore
043    }
044
045    /**
046     * {@inheritDoc}
047     */
048    @Override
049    protected boolean loadLightVisible() {
050        return false;
051    }
052
053    /**
054     * {@inheritDoc}
055     */
056    @Override
057    protected void saveLightVisible(final boolean lightVisible) {
058        // ignore
059    }
060
061    /**
062     * {@inheritDoc}
063     */
064    @Override
065    protected boolean loadSmoothing() {
066        return false;
067    }
068
069    /**
070     * {@inheritDoc}
071     */
072    @Override
073    protected void saveSmoothing(final boolean smoothing) {
074        // ignore
075    }
076
077    /**
078     * {@inheritDoc}
079     */
080    @Override
081    protected boolean loadDoubleFaces() {
082        return false;
083    }
084
085    /**
086     * {@inheritDoc}
087     */
088    @Override
089    protected void saveDoubleFaces(final boolean doubleFaces) {
090        // ignore
091    }
092
093    /**
094     * {@inheritDoc}
095     */
096    @Override
097    protected int loadAlphaType() {
098        return 0;
099    }
100
101    /**
102     * {@inheritDoc}
103     */
104    @Override
105    protected void saveAlphaType(final int alphaType) {
106        // ignore
107    }
108
109    /**
110     * {@inheritDoc}
111     */
112    @Override
113    protected int loadEditType() {
114        return 0;
115    }
116
117    /**
118     * {@inheritDoc}
119     */
120    @Override
121    protected boolean loadAutojoin() {
122        return false;
123    }
124
125    /**
126     * {@inheritDoc}
127     */
128    @Override
129    protected void saveAutojoin(final boolean autojoin) {
130        // ignore
131    }
132
133}