DeleteAllMaps
DeleteAllMaps
 
Parameters: NONE
Returns: NONE
 

      DeleteAllMaps will delete all previously created maps from memory, including all associated tile graphics, levels and animations.



FACTS:


      * None



Mini Tutorial:


      This example will create a map with 10 provision for 10 levels.

  
  
; Create map 1, with room for 10 levels
  CreateMap 1,10
  
; Create map 2, with room for 10 levels
  CreateMap 2,10
  
  
  
; Display the Info about this map.
  
  Print "Map Status:"+Str$(GetMapStatus(1))
  Print "Map Status:"+Str$(GetMapStatus(2))
  
  
  DeleteAllMaps
  
; Display the Info about this map.
  
  Print "Map Status:"+Str$(GetMapStatus(1))
  Print "Map Status:"+Str$(GetMapStatus(2))
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  
  




This example would output.

  
  Map Status:1
  Map Status:1
  
  Map Status:0
  Map Status:0
  
  
  

 
Related Info: CreateLevel | CreateMap | DeleteAllLevels | DeleteAllMapAnims | DeleteLevel | DeleteMap | DeleteMapAnim | NewLevel | NewMap :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com