1
0

Initial boat support

+ Boats are saved
+ Boats have physics
+ Boats spawn
This commit is contained in:
Tiger Wang
2013-09-08 00:14:57 +01:00
parent f300ed54e5
commit c789a8ddf5
8 changed files with 217 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
// Handlers:
#include "ItemBed.h"
#include "ItemBoat.h"
#include "ItemBow.h"
#include "ItemBrewingStand.h"
#include "ItemBucket.h"
@@ -180,6 +181,11 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType)
return new cItemMinecartHandler(a_ItemType);
}
case E_ITEM_BOAT:
{
return new cItemBoatHandler(a_ItemType);
}
// Food:
case E_ITEM_BREAD:
case E_ITEM_COOKIE: