docs: updates to several patterns

This commit is contained in:
Ilkka Seppälä
2024-05-28 19:46:39 +03:00
parent 4652842c94
commit 584e949714
70 changed files with 347 additions and 479 deletions
-10
View File
@@ -102,12 +102,6 @@ Upon opening the component package, the collection of components are revealed. T
public class PlayerInputComponent implements InputComponent {
private static final int walkAcceleration = 1;
/**
* The update method to change the velocity based on the input key event.
*
* @param gameObject the gameObject instance
* @param e key event instance
*/
@Override
public void update(GameObject gameObject, int e) {
switch (e) {
@@ -128,10 +122,6 @@ public class PlayerInputComponent implements InputComponent {
}
```
## Class diagram
![Component](./etc/component.uml.png "Component")
## Applicability
* Used in game development and simulations where game entities (e.g., characters, items) can have a dynamic set of abilities or states.