const int width = 800;
const int height = 480;
+ const float walkSpeed = 128.0f;
+
const bool battle(false);
// std::srand(std::time(0));
Sprite mapMaximSprite(mapMaximImg, 32, 64);
Entity mapMaxim;
mapMaxim.SetSprite(&mapMaximSprite);
- mapMaxim.Position() = Vector<float>(80, 160);
+ mapMaxim.Position() = Vector<float>(80, 128);
InitScreen screen(width, height);
MapState *mapState(new MapState(&map));
mapState->AddEntity(&mapMaxim);
mapState->ControlEntity(&mapMaxim);
+ mapState->SetWalkingSpeed(walkSpeed);
state = mapState;
}