
上QQ阅读APP看书,第一时间看更新
Time for action — modifying the gameClasses file
To modify the gameClasses
file, we will follow the ensuing steps:
- Open the
gameClasses.monkey
file. - Add an
Import
statement for thebombClass.monkey
file.Import explosionClass Import bombClass
- Save the file and close it.
What just happened?
You have added importing of the bombClass.monkey
file so it can be used now.