Skip to content

Commit

Permalink
player: Add class name and top-level comment
Browse files Browse the repository at this point in the history
This improves the presentation of the player in the inspector.
  • Loading branch information
wjt committed Nov 11, 2024
1 parent edad557 commit 056ee51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/player.gd
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@tool
class_name Player
extends CharacterBody2D
## A player's character, which can walk, jump, and stomp on enemies.

## Use this to change the sprite frames of your character.
@export var sprite_frames: SpriteFrames = _initial_sprite_frames:
Expand Down

0 comments on commit 056ee51

Please sign in to comment.