Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update space.go (comments, formatting) + New functions #31

Closed
wants to merge 1 commit into from
Closed

Update space.go (comments, formatting) + New functions #31

wants to merge 1 commit into from

Conversation

setanarut
Copy link
Collaborator

@setanarut setanarut commented Jan 7, 2024

Please Commit tag -> v2.1.0

Changelog:

Added:

//DynamicBodies returns dynamic body list of the space
func (space *Space) DynamicBodies() []*Body 

// StaticBodies returns static body list of the space
func (space *Space) StaticBodies() []*Body 

// DynamicBodyCount returns the total number of dynamic bodies in space
func (space *Space) DynamicBodyCount() int

// StaticBodyCount returns the total number of static bodies in space
func (space *Space) StaticBodyCount() int

Doc comments + Code formatting

Added:

// DynamicBodies returns dynamic body list of the space
func (space *Space) DynamicBodies() []*Body 

// StaticBodies returns static body list of the space
func (space *Space) StaticBodies() []*Body 

// DynamicBodyCount returns the total number of dynamic bodies in space
func (space *Space) DynamicBodyCount() int

// StaticBodyCount returns the total number of static bodies in space
func (space *Space) StaticBodyCount() int
@setanarut setanarut changed the title Update space.go (formatting) + New functions Update space.go (comments, formatting) + New functions Jan 7, 2024
@setanarut setanarut closed this Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant