Atavism Version 2018.1AGIS API

atavism.server.pathing
Class PathArc

java.lang.Object
  extended by atavism.server.pathing.PathArc
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class PathArc
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

used in pathing code works with java bean xml serialization

See Also:
Serialized Form

Field Summary
static byte CVToCV
           
static byte CVToTerrain
           
static byte Illegal
           
static byte TerrainToTerrain
           
 
Constructor Summary
PathArc()
           
PathArc(byte arcKind, int poly1Index, int poly2Index, PathEdge edge)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String formatArcKind(byte val)
           
 PathEdge getEdge()
           
 byte getKind()
           
 int getPoly1Index()
           
 int getPoly2Index()
           
static byte parseArcKind(java.lang.String s)
           
 void setPoly1Index(int poly1Index)
           
 void setPoly2Index(int poly2Index)
           
 java.lang.String shortString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Illegal

public static final byte Illegal
See Also:
Constant Field Values

CVToCV

public static final byte CVToCV
See Also:
Constant Field Values

TerrainToTerrain

public static final byte TerrainToTerrain
See Also:
Constant Field Values

CVToTerrain

public static final byte CVToTerrain
See Also:
Constant Field Values
Constructor Detail

PathArc

public PathArc()

PathArc

public PathArc(byte arcKind,
               int poly1Index,
               int poly2Index,
               PathEdge edge)
Method Detail

formatArcKind

public java.lang.String formatArcKind(byte val)

parseArcKind

public static byte parseArcKind(java.lang.String s)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

shortString

public java.lang.String shortString()

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getKind

public byte getKind()

getPoly1Index

public int getPoly1Index()

setPoly1Index

public void setPoly1Index(int poly1Index)

getPoly2Index

public int getPoly2Index()

setPoly2Index

public void setPoly2Index(int poly2Index)

getEdge

public PathEdge getEdge()


Copyright © 2018 Dragonsan Studios Sp. z o.o.