Update ProgramDesign
parent
e7692454c6
commit
d15fcbac13
@ -33,6 +33,7 @@ If you have twenty or thirty sprites, you will probably want to take the time to
|
|||||||
You should create a function to change the game mode. We will place a call for this in a moment, but for now, we do something like:
|
You should create a function to change the game mode. We will place a call for this in a moment, but for now, we do something like:
|
||||||
|
|
||||||
* Clear all sprites: The sprite controller has a process for returning all sprites that are duplicates of named sprites. We can use that to clear all the sprites like:
|
* Clear all sprites: The sprite controller has a process for returning all sprites that are duplicates of named sprites. We can use that to clear all the sprites like:
|
||||||
|
|
||||||
```c#
|
```c#
|
||||||
void ClearAllSprites()
|
void ClearAllSprites()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user