Skip to content

Commit 0a31619

Browse files
committed
Add a new API
1 parent edfec69 commit 0a31619

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

package.json

+4-11
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,18 @@
33
"displayName": "PewPew Snippets",
44
"description": "An essential tool to any PewPew Live level creator.",
55
"publisher": "TastyKiwi",
6-
"version": "1.2.2",
7-
"badges": [
8-
{
9-
"url": "https://img.shields.io/badge/Come%20to%20see%20our-GitHub%20repository-success?style=for-the-badge&logo=github",
10-
"href": "https://github.com/Tasty-Kiwi/PewPewSnippets",
11-
"description": "Come to see our GitHub repository"
12-
}
13-
],
6+
"version": "1.2.3",
147
"engines": {
158
"vscode": "^1.53.0"
169
},
1710
"license": "MIT",
1811
"repository": {
1912
"type": "git",
20-
"url": "https://github.com/Tasty-Kiwi/PewPewSnippets"
13+
"url": "https://github.com/pewpewlive/PewPewSnippets"
2114
},
22-
"homepage": "https://github.com/Tasty-Kiwi/PewPewSnippets/blob/master/README.md",
15+
"homepage": "https://github.com/pewpewlive/PewPewSnippets/blob/master/README.md",
2316
"bugs": {
24-
"url": "https://github.com/Tasty-Kiwi/PewPewSnippets/issues"
17+
"url": "https://github.com/pewpewlive/PewPewSnippets/issues"
2518
},
2619
"categories": [
2720
"Snippets"

snippets/lua.code-snippets

+5
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@
110110
"body": "pewpew.get_entities_colliding_with_disk(${1:center_x}, ${2:center_y}, ${3:radius})",
111111
"description": "Returns the list of collidable entities (which includes all enemies) that overlap with the given disk."
112112
},
113+
"get_all_entities": {
114+
"prefix": "pewpew.get_all_entities",
115+
"body": "pewpew.get_all_entities()",
116+
"description": "Returns a table containing all entities."
117+
},
113118
"get_entity_count": {
114119
"prefix": "pewpew.get_entity_count",
115120
"body": "pewpew.get_entity_count($0)",

0 commit comments

Comments
 (0)