Pathfinding algorithm start. Currently freezes in pathfinding loop
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
@@ -30,6 +30,9 @@ Crawler::Crawler()
|
||||
}
|
||||
|
||||
bool Crawler::OnUserCreate(){
|
||||
|
||||
ConsoleCaptureStdOut(true);
|
||||
|
||||
InitializeLevel("assets/maps/Level1.tmx",LEVEL1);
|
||||
InitializeLevel("assets/maps/Level2.tmx",LEVEL2);
|
||||
InitializeLevel("assets/Campaigns/1_1_test.tmx",CAMPAIGN_1_1);
|
||||
@@ -390,6 +393,9 @@ bool Crawler::DownReleased(){
|
||||
|
||||
void Crawler::HandleUserInput(float fElapsedTime){
|
||||
bool setIdleAnimation=true;
|
||||
if(GetKey(F1).bPressed){
|
||||
ConsoleShow(F1);
|
||||
}
|
||||
if(GetMouseWheel()>0){
|
||||
switch(player.cl){
|
||||
case WARRIOR:{
|
||||
|
||||
Reference in New Issue
Block a user