Package fr.formiko.formiko
Class CCase
java.lang.Object
fr.formiko.formiko.CCase
- All Implemented Interfaces:
 Serializable
- See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondesc()booleanStandard equals function.intgetDirection(Case to) return a direction by using this & a Case to reach.intgetDirection(CCase to) return a direction by using this & an other CCase to reach.static intgetDirection(fr.formiko.usual.Point from, fr.formiko.usual.Point to) return a direction by using 2 Point.private static intgetDirectionFromXY(int x, int y) return a direction by using difference in x & in y.getDown()getGc()fr.formiko.usual.structures.listes.Liste<Case>getGca(int radius) getGg()getGg(int radius) getGi()getGi(int radius) getLeft()getPoint()getRigth()getUp()intgetX()intgetY()bytevoidsetContenu(Case c) toString() 
- 
Field Details
- 
contenu
 - 
gc
 
 - 
 - 
Constructor Details
- 
CCase
 - 
CCase
 - 
CCase
 - 
CCase
public CCase(int x, int y)  
 - 
 - 
Method Details
- 
getUp
 - 
getDown
 - 
getRigth
 - 
getLeft
 - 
getContent
 - 
setContenu
 - 
getGg
 - 
getX
public int getX() - 
getY
public int getY() - 
getGc
 - 
toString
 - 
desc
 - 
equals
Standard equals function.
Null & other class type proof. - 
getGg
 - 
getGca
 - 
getDirection
return a direction by using this & an other CCase to reach. - 
getDirection
return a direction by using this & a Case to reach. - 
getDirection
public static int getDirection(fr.formiko.usual.Point from, fr.formiko.usual.Point to) return a direction by using 2 Point. - 
getDirectionFromXY
private static int getDirectionFromXY(int x, int y) return a direction by using difference in x & in y. - 
getPoint
 - 
getGi
 - 
getGi
 - 
nbrDeCaseVoisine
public byte nbrDeCaseVoisine() 
 -