Small changes
This commit is contained in:
@@ -23,8 +23,6 @@ namespace CaveGame::Core
|
||||
MUD_BRICK,
|
||||
CLAY_BRICK,
|
||||
STONE_BRICK,
|
||||
SANDSTONE,
|
||||
SAND_BRICK,
|
||||
GRANITE,
|
||||
SMOOTH_GRANTITE,
|
||||
SLATE,
|
||||
@@ -43,8 +41,13 @@ namespace CaveGame::Core
|
||||
MOSS,
|
||||
SNOW, PACKED_SNOW,
|
||||
ICE, PACKED_ICE, ICE_BRICK, THIN_ICE,
|
||||
SAND, WET_SAND, WHITE_SAND, BLACK_SAND, GRAVEL, DUST,
|
||||
|
||||
SAND, WET_SAND, SANDSTONE, SAND_BRICK,
|
||||
RED_SAND,
|
||||
WHITE_SAND,
|
||||
BLACK_SAND,
|
||||
GRAVEL,
|
||||
DUST,
|
||||
GLASS, CRACKED_GLASS,
|
||||
RED_STAINED_GLASS,
|
||||
ORANGE_STAINED_GLASS,
|
||||
|
@@ -82,7 +82,7 @@ namespace CaveGame::Core
|
||||
TEntity* AddNewEntity(Args&&... ctor_args)
|
||||
{
|
||||
// TODO: Does emplace_back construct the correct derived entity?
|
||||
entities.emplace_back(std::forward<Args>(ctor_args)...);
|
||||
return entities.emplace_back(std::forward<Args>(ctor_args)...);
|
||||
}
|
||||
|
||||
/// Adds the entity pointer to the world, via std::move, this may leave the original entity pointer empty.
|
||||
|
Reference in New Issue
Block a user