C# Class Pokemon3D.GameModes.Battle.BattleFieldPosition

Describes the position of a Pokémon on the battlefield.
Afficher le fichier Open project: nilllzz/Pokemon3D Class Usage Examples

Méthodes publiques

Свойство Type Description
X int
Y int

Méthodes publiques

Méthode Description
BattleFieldPosition ( int x, int y )
Equals ( object obj ) : bool
GetHashCode ( ) : int
operator ( ) : bool

Method Details

BattleFieldPosition() public méthode

public BattleFieldPosition ( int x, int y )
x int
y int

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

X public_oe property

The position of the Pokémon on the side (left/right).
public int X
Résultat int

Y public_oe property

The side of the Pokémon (own Pokémon/opponent's Pokémon).
public int Y
Résultat int