Class GameEntityFactory

java.lang.Object
zombie.entity.GameEntityFactory

public class GameEntityFactory extends Object
  • Constructor Details

    • GameEntityFactory

      public GameEntityFactory()
  • Method Details

    • TransferComponents

      public static void TransferComponents(GameEntity source, GameEntity target)
    • TransferComponent

      public static void TransferComponent(GameEntity source, GameEntity target, ComponentType componentType)
    • CreateIsoEntityFromCellLoading

      public static void CreateIsoEntityFromCellLoading(IsoObject isoObject)
    • CreateInventoryItemEntity

      public static void CreateInventoryItemEntity(InventoryItem inventoryItem, Item itemScript, boolean isFirstTimeCreated)
    • CreateIsoObjectEntity

      public static void CreateIsoObjectEntity(IsoObject isoObject, GameEntityScript script, boolean isFirstTimeCreated)
    • CreateEntityDebugReload

      public static void CreateEntityDebugReload(GameEntity entity, GameEntityScript script, boolean isFirstTimeCreated)
    • RemoveComponentType

      public static void RemoveComponentType(GameEntity entity, ComponentType componentType)
    • RemoveComponentTypes

      public static void RemoveComponentTypes(GameEntity entity, EnumSet<ComponentType> componentTypes)
    • RemoveComponent

      public static void RemoveComponent(GameEntity entity, Component component)
    • RemoveComponents

      public static void RemoveComponents(GameEntity entity, Component... components)
    • AddComponent

      public static void AddComponent(GameEntity entity, Component component)
    • AddComponents

      public static void AddComponents(GameEntity entity, Component... components)
    • AddComponent

      public static void AddComponent(GameEntity entity, boolean replace, Component component)
    • AddComponents

      public static void AddComponents(GameEntity entity, boolean replace, Component... components)