Method | Description | |
---|---|---|
EnemyMovement ( ].int[ matrix ) : ].int[ | ||
IsThereEnemy ( ].int[ matrix, int playerRow, int playerCol ) : bool | ||
PrintMatrix ( ].int[ matrix ) : void |
Method | Description | |
---|---|---|
Main ( Array args ) : void |
public static EnemyMovement ( ].int[ matrix ) : ].int[ | ||
matrix | ].int[ | |
return | ].int[ |
public static IsThereEnemy ( ].int[ matrix, int playerRow, int playerCol ) : bool | ||
matrix | ].int[ | |
playerRow | int | |
playerCol | int | |
return | bool |