public Item(string name, World world, Vector2 worldIndex, IUseStrategy useStrategy, IGetStrategy getStrategy, IGiveStrategy giveStrategy, ItemCategories itemCategory, ItemTypes itemType) { Name = name; _world = world; WorldIndex = worldIndex; _useStrategy = useStrategy; _getStrategy = getStrategy; _giveStrategy = giveStrategy; ItemCategory = itemCategory; ItemType = itemType; }
public Weapon(string name, Vector2 worldIndex, World world, IUseStrategy useStrategy, IGetStrategy getStrategy, IGiveStrategy giveStrategy, List<IAttackStrategy> attacks, int range) { Name = name; WorldIndex = worldIndex; _useStrategy = useStrategy; _getStrategy = getStrategy; _giveStrategy = giveStrategy; _attacks = attacks; _world = world; ItemCategory = ItemCategories.Weapon; ItemType = ItemTypes.Diamond; Range = range; }
public Weapon(string name, Vector2 worldIndex, World world, IUseStrategy useStrategy, IGetStrategy getStrategy, IGiveStrategy giveStrategy, List <IAttackStrategy> attacks, int range) { Name = name; WorldIndex = worldIndex; _useStrategy = useStrategy; _getStrategy = getStrategy; _giveStrategy = giveStrategy; _attacks = attacks; _world = world; ItemCategory = ItemCategories.Weapon; ItemType = ItemTypes.Diamond; Range = range; }
public RemoveTemporaryEffectGiveStrategy(Guid effectId) { _id = effectId; _standardGive = new StandardGiveStrategy(); }