Méthode | Description | |
---|---|---|
EnemyMovement ( ].int[ matrix ) : ].int[ | ||
IsThereEnemy ( ].int[ matrix, int playerRow, int playerCol ) : bool | ||
PrintMatrix ( ].int[ matrix ) : void |
Méthode | Description | |
---|---|---|
Main ( Array args ) : void |
public static EnemyMovement ( ].int[ matrix ) : ].int[ | ||
matrix | ].int[ | |
Résultat | ].int[ |
public static IsThereEnemy ( ].int[ matrix, int playerRow, int playerCol ) : bool | ||
matrix | ].int[ | |
playerRow | int | |
playerCol | int | |
Résultat | bool |
public PrintMatrix ( ].int[ matrix ) : void | ||
matrix | ].int[ | |
Résultat | void |