예제 #1
0
 public HUDMessageDelegate(string msg, Color color, float timeLeft, bool fadeIn)
 {
     ConstructorParams.Add(msg);
     ConstructorParams.Add(color);
     ConstructorParams.Add(timeLeft);
     ConstructorParams.Add(fadeIn);
 }
예제 #2
0
 public CharacterDelegate(AnimatedSprite sprite, Vector2 position, int speed, string name)
 {
     ConstructorParams.Add(sprite.Underlying);
     ConstructorParams.Add(position);
     ConstructorParams.Add(speed);
     ConstructorParams.Add(name);
 }
예제 #3
0
 public BuffDelegate(string description, int millisecondsDuration, string source, int index)
 {
     ConstructorParams.Add(description);
     ConstructorParams.Add(millisecondsDuration);
     ConstructorParams.Add(source);
     ConstructorParams.Add(index);
 }
예제 #4
0
 public AnimatedSpriteDelegate(Texture2D texture, int currentFrame, int spriteWidth, int spriteHeight)
 {
     ConstructorParams.Add(texture);
     ConstructorParams.Add(currentFrame);
     ConstructorParams.Add(spriteWidth);
     ConstructorParams.Add(spriteHeight);
 }
예제 #5
0
 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>());
 }
예제 #6
0
 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);
 }
예제 #7
0
 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);
 }
예제 #8
0
 public BuffDelegate(int which)
 {
     ConstructorParams.Add(which);
 }
예제 #9
0
 public AnimatedSpriteDelegate(Texture2D texture)
 {
     ConstructorParams.Add(texture);
 }
예제 #10
0
 public FarmAnimalDelegate(string type, long id, long ownerId)
 {
     ConstructorParams.Add(type);
     ConstructorParams.Add(id);
     ConstructorParams.Add(ownerId);
 }
예제 #11
0
 public StandardObjectDelegate(Vector2 tileLocation, int parentSpriteSheetIndex, int initialStack)
 {
     ConstructorParams.Add(tileLocation);
     ConstructorParams.Add(parentSpriteSheetIndex);
     ConstructorParams.Add(initialStack);
 }
예제 #12
0
 public ChestDelegate(bool playerChest)
 {
     ConstructorParams.Add(playerChest);
 }
예제 #13
0
 public MonsterDelegate(string name, Vector2 position)
 {
     ConstructorParams.Add(name);
     ConstructorParams.Add(position);
 }
예제 #14
0
 public HUDMessageDelegate(string msg, string leaveMeNull)
 {
     ConstructorParams.Add(msg);
     ConstructorParams.Add(leaveMeNull);
 }
예제 #15
0
 public StandardBillboardDelegate(bool dailyQuest = false)
 {
     ConstructorParams.Add(dailyQuest);
 }
예제 #16
0
 public HUDMessageDelegate(string msg)
 {
     ConstructorParams.Add(msg);
 }
예제 #17
0
 public HUDMessageDelegate(string msg, int whatType)
 {
     ConstructorParams.Add(msg);
     ConstructorParams.Add(whatType);
 }
예제 #18
0
 public HUDMessageDelegate(string msg, bool achievement)
 {
     ConstructorParams.Add(msg);
     ConstructorParams.Add(achievement);
 }