public HUDMessageDelegate(string msg, Color color, float timeLeft, bool fadeIn) { ConstructorParams.Add(msg); ConstructorParams.Add(color); ConstructorParams.Add(timeLeft); ConstructorParams.Add(fadeIn); }
public CharacterDelegate(AnimatedSprite sprite, Vector2 position, int speed, string name) { ConstructorParams.Add(sprite.Underlying); ConstructorParams.Add(position); ConstructorParams.Add(speed); ConstructorParams.Add(name); }
public BuffDelegate(string description, int millisecondsDuration, string source, int index) { ConstructorParams.Add(description); ConstructorParams.Add(millisecondsDuration); ConstructorParams.Add(source); ConstructorParams.Add(index); }
public AnimatedSpriteDelegate(Texture2D texture, int currentFrame, int spriteWidth, int spriteHeight) { ConstructorParams.Add(texture); ConstructorParams.Add(currentFrame); ConstructorParams.Add(spriteWidth); ConstructorParams.Add(spriteHeight); }
public HUDMessageDelegate(string type, int number, bool add, Color color, Item messageSubject = null) { ConstructorParams.Add(type); ConstructorParams.Add(number); ConstructorParams.Add(add); ConstructorParams.Add(color); ConstructorParams.Add(messageSubject?.Cast <ItemAccessor>()); }
public ObjectDelegate(Vector2 tileLocation, int parentSheetIndex, string name, bool canBeSetDown, bool canBeGrabbed, bool isHoedirt, bool isSpawnedObject) { ConstructorParams.Add(tileLocation); ConstructorParams.Add(parentSheetIndex); ConstructorParams.Add(name); ConstructorParams.Add(canBeSetDown); ConstructorParams.Add(canBeGrabbed); ConstructorParams.Add(isHoedirt); ConstructorParams.Add(isSpawnedObject); }
public BuffDelegate(int farming, int fishing, int mining, int digging, int luck, int foraging, int crafting, int maxStamina, int magneticRadius, int speed, int defense, int attack, int minutesDuration, string source) { ConstructorParams.Add(farming); ConstructorParams.Add(fishing); ConstructorParams.Add(mining); ConstructorParams.Add(digging); ConstructorParams.Add(luck); ConstructorParams.Add(foraging); ConstructorParams.Add(crafting); ConstructorParams.Add(maxStamina); ConstructorParams.Add(magneticRadius); ConstructorParams.Add(speed); ConstructorParams.Add(defense); ConstructorParams.Add(attack); ConstructorParams.Add(minutesDuration); ConstructorParams.Add(source); }
public BuffDelegate(int which) { ConstructorParams.Add(which); }
public AnimatedSpriteDelegate(Texture2D texture) { ConstructorParams.Add(texture); }
public FarmAnimalDelegate(string type, long id, long ownerId) { ConstructorParams.Add(type); ConstructorParams.Add(id); ConstructorParams.Add(ownerId); }
public StandardObjectDelegate(Vector2 tileLocation, int parentSpriteSheetIndex, int initialStack) { ConstructorParams.Add(tileLocation); ConstructorParams.Add(parentSpriteSheetIndex); ConstructorParams.Add(initialStack); }
public ChestDelegate(bool playerChest) { ConstructorParams.Add(playerChest); }
public MonsterDelegate(string name, Vector2 position) { ConstructorParams.Add(name); ConstructorParams.Add(position); }
public HUDMessageDelegate(string msg, string leaveMeNull) { ConstructorParams.Add(msg); ConstructorParams.Add(leaveMeNull); }
public StandardBillboardDelegate(bool dailyQuest = false) { ConstructorParams.Add(dailyQuest); }
public HUDMessageDelegate(string msg) { ConstructorParams.Add(msg); }
public HUDMessageDelegate(string msg, int whatType) { ConstructorParams.Add(msg); ConstructorParams.Add(whatType); }
public HUDMessageDelegate(string msg, bool achievement) { ConstructorParams.Add(msg); ConstructorParams.Add(achievement); }