Starting Cooking System
This commit is contained in:
11
scripts/System/CookingSystem.gd
Normal file
11
scripts/System/CookingSystem.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
class_name CookingSystem extends Node;
|
||||
const CookingGame = preload("res://scripts/Cooking/CookingGame.gd");
|
||||
|
||||
var game:CookingGame = null;
|
||||
|
||||
func getSystems():
|
||||
return get_tree().current_scene.get_node("Systems");
|
||||
|
||||
func setCookingGame(game:CookingGame):
|
||||
self.game = game;
|
||||
print("CookingSystem: CookingGame set");
|
Reference in New Issue
Block a user