-
Notifications
You must be signed in to change notification settings - Fork 0
File Search
Descriptive summary of what the system is and what it does.
A global script that handles searching through the user's file system
List of connecting/parent/subsystems.
Connecting Systems:
List of known bugs. Be descriptive but keep it brief!
- None
List of features and descriptions within system.
Finding files:
- Can be used to search a root folder for files of a specific name
Finding directories:
- Can be used to search a root folder for directories of a specific name
File count:
- Can be used to count how many files are within a directory
Folder deletion:
- Can delete a folder including everything in it
Name the most important variables, their type, and what their purpose is
-
filePath : String= The root file path that the file search will be confined to
Name of the most important functions, their parameters, and what they do.
-
func find_file_by_name(targetFileName : String, currentDirectory : String) -> String: Recursively searches the file system to find and return the file path to a specified file -
func find_directory_by_name(targetDirectoryName : String, currentDirectory : String) -> String: Recursively searches the file system to find and return the file path to a specified directory -
func file_count_in_folder(folderName : String) -> int: Gets the amount of files within a folder -
func delete_folder(folderPath : String) -> void: Recursively deletes all files within a folder before deleting the folder
List and description of upcoming work/risks.
Future Work:
- Change the filepath dynamically to allow for assets to be level-based
Risks:
- Risk 1
A place for miscellaneous notes pertaining to this system.
- Note 1
- Subnote 1
- Note 2
Resources
Known Issues
Future Work
Globals
Managers
- Main Menu Manager
- Master Manager
- Camera Manager
- Hotkey Manager
- Import Export Manager
- Audio Manager
- Animation Manager
- PopUp Manager
UI
Managers
- Editor Manager
- Tile Manager
- Entity Manager
- Icon Manager
- Preview Manager
- Tool Manager
- Asset Manager
- Custom Cursor Manager
Tiles & Entities
- Grid Lines
- Preview Line
- Tiles & Entities
- Enemies
- Patrolling Enemy
- Flying Enemy
- Shooting Enemy
- Stationary Enemy
- Moving Platform
- Property Editing
Asset Swapping
UI
Managers
Player