메소드 | 설명 | |
---|---|---|
EnemyMovement ( ].int[ matrix ) : ].int[ | ||
IsThereEnemy ( ].int[ matrix, int playerRow, int playerCol ) : bool | ||
PrintMatrix ( ].int[ matrix ) : void |
메소드 | 설명 | |
---|---|---|
Main ( Array args ) : void |
public static EnemyMovement ( ].int[ matrix ) : ].int[ | ||
matrix | ].int[ | |
리턴 | ].int[ |
public static IsThereEnemy ( ].int[ matrix, int playerRow, int playerCol ) : bool | ||
matrix | ].int[ | |
playerRow | int | |
playerCol | int | |
리턴 | bool |