Debian Codegraph @

src/uk/me/parabola/imgfmt/app/mdr/Mdr1Record.java

raw symbols SCIP
1 /*
2 * Copyright (C) 2009.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 3 or
6 * version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
12 */
13 package uk.me.parabola.imgfmt.app.mdr;
14
15 /**
16 * @author Steve Ratcliffe
17 */
18 public class Mdr1Record extends RecordBase {
19 private final int mapNumber;
20 private Mdr1MapIndex mdrMapIndex;
21 private int indexOffset;
22
23 public Mdr1Record(int mapNumber) {
24 this.mapNumber = mapNumber;
25 }
26
27 public int getMapNumber() {
28 return mapNumber;
29 }
30
31 public Mdr1MapIndex getMdrMapIndex() {
32 return mdrMapIndex;
33 }
34
35 public void setMdrMapIndex(Mdr1MapIndex mdrMapIndex) {
36 this.mdrMapIndex = mdrMapIndex;
37 }
38
39 public int getIndexOffset() {
40 return indexOffset;
41 }
42
43 public void setIndexOffset(int indexOffset) {
44 this.indexOffset = indexOffset;
45 }
46 }