Public Member Functions | |
| SamplePlayerCharacterSpawner (String down, String up, String left, String right) | |
| Entity | create (String name) |
Package Attributes | |
| AnimatedSprite | anim |
| PlayerMover | pm |
Definition at line 30 of file SamplePlayerCharacterSpawner.java.
| org.classroomgaming.cgp.SamplePlayerCharacterSpawner.SamplePlayerCharacterSpawner | ( | String | down, | |
| String | up, | |||
| String | left, | |||
| String | right | |||
| ) |
Constructs a non-animated player controlled character
| down | image for character facing down | |
| up | image for character facing up | |
| left | image for character facing left | |
| right | image for character facing right |
Definition at line 42 of file SamplePlayerCharacterSpawner.java.
| Entity org.classroomgaming.cgp.SamplePlayerCharacterSpawner.create | ( | String | name | ) |
Spawn a new Entity of this type
| name | new Entity name |
Implements org.classroomgaming.cgp.Spawner.
Definition at line 63 of file SamplePlayerCharacterSpawner.java.
Definition at line 32 of file SamplePlayerCharacterSpawner.java.
Definition at line 33 of file SamplePlayerCharacterSpawner.java.
1.5.8