diff options
| author | 2014-08-19 00:25:32 -0400 | |
|---|---|---|
| committer | 2014-08-19 00:25:32 -0400 | |
| commit | c4e35f2d516ade27e8e1a863b4bc356f182f43c2 (patch) | |
| tree | 6711cde39dcfaea30520b8ccabb6236872e0d756 /src/cuchaz/enigma/analysis/EntryReference.java | |
| parent | fixed type caching after rename (diff) | |
| download | enigma-fork-c4e35f2d516ade27e8e1a863b4bc356f182f43c2.tar.gz enigma-fork-c4e35f2d516ade27e8e1a863b4bc356f182f43c2.tar.xz enigma-fork-c4e35f2d516ade27e8e1a863b4bc356f182f43c2.zip | |
started new reference navigation system
Diffstat (limited to '')
| -rw-r--r-- | src/cuchaz/enigma/analysis/EntryReference.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/cuchaz/enigma/analysis/EntryReference.java b/src/cuchaz/enigma/analysis/EntryReference.java new file mode 100644 index 0000000..f462210 --- /dev/null +++ b/src/cuchaz/enigma/analysis/EntryReference.java | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /******************************************************************************* | ||
| 2 | * Copyright (c) 2014 Jeff Martin. | ||
| 3 | * All rights reserved. This program and the accompanying materials | ||
| 4 | * are made available under the terms of the GNU Public License v3.0 | ||
| 5 | * which accompanies this distribution, and is available at | ||
| 6 | * http://www.gnu.org/licenses/gpl.html | ||
| 7 | * | ||
| 8 | * Contributors: | ||
| 9 | * Jeff Martin - initial API and implementation | ||
| 10 | ******************************************************************************/ | ||
| 11 | package cuchaz.enigma.analysis; | ||
| 12 | |||
| 13 | import cuchaz.enigma.mapping.BehaviorEntry; | ||
| 14 | import cuchaz.enigma.mapping.Entry; | ||
| 15 | |||
| 16 | public class EntryReference<T extends Entry> | ||
| 17 | { | ||
| 18 | public T entry; | ||
| 19 | public BehaviorEntry caller; | ||
| 20 | public int pos; | ||
| 21 | |||
| 22 | public EntryReference( T entry, BehaviorEntry caller, int pos ) | ||
| 23 | { | ||
| 24 | this.entry = entry; | ||
| 25 | this.caller = caller; | ||
| 26 | this.pos = pos; | ||
| 27 | } | ||
| 28 | } | ||