Skip to content

Commit ab1e425

Browse files
committed
add missing api
1 parent 55ceb36 commit ab1e425

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "PewPew Snippets",
44
"description": "A Visual Studio Code extension that has useful snippets to enhance level creation for PewPew Live.",
55
"publisher": "Tasty-Kiwi",
6-
"version": "1.0.4",
6+
"version": "1.0.5",
77
"badges": [{
88
"url": "https://img.shields.io/badge/Come%20to%20see%20our-GitHub%20repository-success?style=for-the-badge&logo=github",
99
"href": "https://github.com/Tasty-Kiwi/PewPewSnippets",

snippets/snippets.code-snippets

+5
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@
110110
"body": "pewpew.get_entity_count($0)",
111111
"description": "Returns the number of entities of specified type that are alive."
112112
},
113+
"get_entity_type":{
114+
"prefix": "get_entity_type()",
115+
"body": "pewpew.get_entity_type($0)",
116+
"description": "Returns the type of the given entity."
117+
},
113118
"play_ambient_sound":{
114119
"prefix": "play_ambient_sound()",
115120
"body": "pewpew.play_ambient_sound(${1:sound_path}, ${2:index})",

0 commit comments

Comments
 (0)