summaryrefslogtreecommitdiff
path: root/Towers/Components/AttackComponent.tscn
blob: 2cad794de5325247650218b636901280952b8866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[gd_scene load_steps=5 format=3 uid="uid://4nd1npteqvh3"]

[ext_resource type="PackedScene" uid="uid://cly4agfoqhq2q" path="res://Towers/Components/TowerComponent.tscn" id="1_j2cqy"]
[ext_resource type="Script" path="res://Towers/Components/AttackComponent.gd" id="2_dbyck"]
[ext_resource type="Texture2D" uid="uid://gbknvb38euuq" path="res://Towers/Components/Assets/attack-component.png" id="2_vr0du"]
[ext_resource type="AudioStream" uid="uid://cpkwvp5llf7x6" path="res://Towers/Assets/shoot.ogg" id="4_ytht8"]

[node name="AttackTowerComponent" instance=ExtResource("1_j2cqy")]
script = ExtResource("2_dbyck")
type = 1

[node name="Sprite" parent="." index="0"]
texture = ExtResource("2_vr0du")

[node name="ShootCooldown" type="Timer" parent="." index="1"]
one_shot = true

[node name="ShootSound" type="AudioStreamPlayer2D" parent="." index="2"]
stream = ExtResource("4_ytht8")