Tree (entity)


Description

tree1snow.png
tree1.png
The tree entity is stationary, and will not move on its own. It has two different versions:
a "regular" tree, and a "snowy" tree. If the player is touching it and presses the 'c' button,
he will cut down the tree, removing it as an obstacle. In addition, if a bear enters an enraged
state, it may run to a tree and throw it at the player. These differentiate trees from big trees.


Editor Parameters


Parameter
Type
Description



Position
Vector2
The position of the entity
Variation
Int
The type of tree sprite to be displayed
Snowy
Bool
Whether or not the tree is snow-covered
Tag
String
Additional Entity Information