Daniele Bartolini пре 11 година
родитељ
комит
fe7fe8b3ca
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      docs/lua_api.txt

+ 5 - 0
docs/lua_api.txt

@@ -426,6 +426,11 @@ Sprite
 	**set_frame** (sprite, num)
 	**set_frame** (sprite, num)
 		Sets the frame of the sprite.
 		Sets the frame of the sprite.
 
 
+	**set_depth** (sprite, depth)
+		Sets the depth of the sprite.
+		Sprites with higher depth values are drawn in front of sprites
+		whith lower depth values.
+
 Mesh
 Mesh
 ----
 ----