1 using Microsoft.Xna.Framework.Graphics;
38 public abstract int DropWood();
44 public abstract Texture2D GetTexture();
57 public abstract Texture2D GetTopTextures(
int i,
int j, ref
int frame, ref
int frameWidth, ref
int frameHeight,
58 ref
int xOffsetLeft, ref
int yOffset);
68 public abstract Texture2D GetBranchTextures(
int i,
int j,
int trunkOffset, ref
int frame);
96 public abstract int DropWood();
102 public abstract Texture2D GetTexture();
108 public abstract Texture2D GetTopTextures();
120 public abstract Texture2D GetTexture();
virtual bool CanDropAcorn()
Whether or not this tree can drop acorns. Returns true by default.
virtual int GrowthFXGore()
Return the type of gore created to represent leaves when this palm tree grows on-screen. Returns -1 by default.
virtual int CreateDust()
Return the type of dust created when this palm tree is destroyed. Returns 215 by default.
This class represents a type of modded cactus. The cactus will share a tile ID with the vanilla cacti...
virtual int CreateDust()
Return the type of dust created when this tree is destroyed. Returns 7 by default.
virtual int GrowthFXGore()
Return the type of gore created to represent leaves when this tree grows on-screen. Returns -1 by default.
This class represents a type of modded tree. The tree will share a tile ID with the vanilla trees (5)...
This class represents a type of modded palm tree. The palm tree will share a tile ID with the vanilla...