diff options
author | Elisey Puzko <puzko.e02@gmail.com> | 2018-02-20 11:09:39 +0100 |
---|---|---|
committer | Elisey Puzko <puzko.e02@gmail.com> | 2018-02-20 11:09:39 +0100 |
commit | 99354db9db9be0f921980f081ee7ed6515d2dcdc (patch) | |
tree | c48ef29357234ea618472bf3ec796c03b7f2a647 /src/Entity.cpp | |
parent | Another attempt at increasing readability (diff) | |
download | AltCraft-99354db9db9be0f921980f081ee7ed6515d2dcdc.tar AltCraft-99354db9db9be0f921980f081ee7ed6515d2dcdc.tar.gz AltCraft-99354db9db9be0f921980f081ee7ed6515d2dcdc.tar.bz2 AltCraft-99354db9db9be0f921980f081ee7ed6515d2dcdc.tar.lz AltCraft-99354db9db9be0f921980f081ee7ed6515d2dcdc.tar.xz AltCraft-99354db9db9be0f921980f081ee7ed6515d2dcdc.tar.zst AltCraft-99354db9db9be0f921980f081ee7ed6515d2dcdc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entity.cpp | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/src/Entity.cpp b/src/Entity.cpp index 821d556..a3a9527 100644 --- a/src/Entity.cpp +++ b/src/Entity.cpp @@ -31,64 +31,64 @@ Entity CreateObject(ObjectType type) { Entity entity; entity.type = EntityType::Object; switch (type) { - case ObjectType::Boat: - break; - case ObjectType::ItemStack: - entity.width = 0.25; - entity.height = 0.25; - break; - case ObjectType::AreaEffectCloud: - break; - case ObjectType::Minecart: - break; - case ObjectType::ActivatedTNT: - break; - case ObjectType::EnderCrystal: - break; - case ObjectType::TippedArrow: - break; - case ObjectType::Snowball: - break; - case ObjectType::Egg: - break; - case ObjectType::FireBall: - break; - case ObjectType::FireCharge: - break; - case ObjectType::ThrownEnderpearl: - break; - case ObjectType::WitherSkull: - break; - case ObjectType::ShulkerBullet: - break; - case ObjectType::LlamaSpit: - break; - case ObjectType::FallingObjects: - break; - case ObjectType::Itemframes: - break; - case ObjectType::EyeOfEnder: - break; - case ObjectType::ThrownPotion: - break; - case ObjectType::ThrownExpBottle: - break; - case ObjectType::FireworkRocket: - break; - case ObjectType::LeashKnot: - break; - case ObjectType::ArmorStand: - break; - case ObjectType::EvocationFangs: - break; - case ObjectType::FishingHook: - break; - case ObjectType::SpectralArrow: - break; - case ObjectType::DragonFireball: - break; - default: - break; + case ObjectType::Boat: + break; + case ObjectType::ItemStack: + entity.width = 0.25; + entity.height = 0.25; + break; + case ObjectType::AreaEffectCloud: + break; + case ObjectType::Minecart: + break; + case ObjectType::ActivatedTNT: + break; + case ObjectType::EnderCrystal: + break; + case ObjectType::TippedArrow: + break; + case ObjectType::Snowball: + break; + case ObjectType::Egg: + break; + case ObjectType::FireBall: + break; + case ObjectType::FireCharge: + break; + case ObjectType::ThrownEnderpearl: + break; + case ObjectType::WitherSkull: + break; + case ObjectType::ShulkerBullet: + break; + case ObjectType::LlamaSpit: + break; + case ObjectType::FallingObjects: + break; + case ObjectType::Itemframes: + break; + case ObjectType::EyeOfEnder: + break; + case ObjectType::ThrownPotion: + break; + case ObjectType::ThrownExpBottle: + break; + case ObjectType::FireworkRocket: + break; + case ObjectType::LeashKnot: + break; + case ObjectType::ArmorStand: + break; + case ObjectType::EvocationFangs: + break; + case ObjectType::FishingHook: + break; + case ObjectType::SpectralArrow: + break; + case ObjectType::DragonFireball: + break; + default: + break; } return entity; } |