//SpaceComponents, Dungeongrid, Dungeondimensions, Item, User, targetposition public static Func <StateSpaceComponents, DungeonTile[, ], Vector2, Guid, Guid, Vector2, bool> GetUseFunction(ItemUseFunctions useFunction) { switch (useFunction) { case ItemUseFunctions.TESTUSE: return(ItemUses.TestUse); default: return(null); } }
//SpaceComponents, Dungeongrid, Dungeondimensions, Item, User, targetposition public static Func<StateSpaceComponents, DungeonTile[,], Vector2, Guid, Guid, Vector2, bool> GetUseFunction(ItemUseFunctions useFunction) { switch (useFunction) { case ItemUseFunctions.TESTUSE: return ItemUses.TestUse; default: return null; } }