Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jochen Bauer
spn-website
Commits
eb2848a0
Commit
eb2848a0
authored
May 04, 2018
by
Hubert Denkmair
Browse files
show names over faces
parent
0dd52eb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
visualization/static/visualization/Snake.js
View file @
eb2848a0
...
...
@@ -85,8 +85,8 @@ function Snake(headTexture, bodyTexture, name, colorScheme, world_size_x, world_
this
.
Container
=
new
PIXI
.
Container
();
this
.
Container
.
addChild
(
this
.
_foodContainer
);
this
.
Container
.
addChild
(
this
.
_segmentContainer
);
this
.
Container
.
addChild
(
this
.
_nameSprite
);
this
.
Container
.
addChild
(
this
.
_headSprite
);
this
.
Container
.
addChild
(
this
.
_nameSprite
);
}
Snake
.
prototype
.
GetBodyTexture
=
function
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment