Skip to content

mrj760/EntityComponentSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EntityComponentSystem

Testing my understanding of what an ECS is by trying to make a crude one in Java

Console Output:

Original
[Motorcycle]
NumWheels: 2
Color: RED
[Paint]
Color: RED
[Car]
NumWheels: 4
Color: BLUE
[Car]
NumWheels: 4
Color: RED
[Paint]
Color: BLUE
[Motorcycle]
NumWheels: 2
Color: BLUE

After iterating over all entities with numWheels variable and editing value
[Motorcycle]
NumWheels: 3
Color: RED
[Paint]
Color: RED
[Car]
NumWheels: 5
Color: BLUE
[Car]
NumWheels: 5
Color: RED
[Paint]
Color: BLUE
[Motorcycle]
NumWheels: 3
Color: BLUE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages