]> Repositories - rushbound.git/blob - addons/godot_super-wakatime/heartbeat.gd
Install Godot Super Wakatime
[rushbound.git] / addons / godot_super-wakatime / heartbeat.gd
1 const FILE_MODIFIED_DELAY = 120
2
3 var file_path
4 var scene_path
5 var entity
6 var type
7 var category
8 var time
9 var is_write
10 var cursorpos
11 var lines
12 var line_no
13 var line_additions
14 var line_deletions
15 var language
16 var project
17
18 func _init(file_path: String = '', time: int = 0, is_write: bool = false):
19         self.file_path = file_path
20         self.time = time
21         self.is_write = is_write
22         self.scene_path = scene_path