-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Floor generation now can be used in game #22
Conversation
olivatooo
commented
May 2, 2018
•
edited
Loading
edited
- Floor being generated in temporary form
- Very simple structure
- Floor doesn't have an destructor! Runtime is limited
⚠️ Floor doesn't have a destructor #23
* Read The Docs! | ||
*/ | ||
#ifndef FLOOR_H | ||
#define FLOOR_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Precisamos de um padrão!
|
||
} | ||
static bool checkUpNeighbor(TileMap * map) | ||
{ | ||
return map->getUp() != NULL; | ||
return map->getUp() != nullptr; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O que é nullptr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NULL | implementation-defined null pointer constant (macro constant)
-- | --
nullptr_t(C++11) | the type of the null pointer literal nullptr (typedef)