Fries
2805cd0e95
this means i can detect if the ball hits the right or left wall, and it makes it easier to maintain.
17 lines
310 B
C#
17 lines
310 B
C#
using Godot;
|
|
using System;
|
|
|
|
public partial class WallManager : Area2D
|
|
{
|
|
// Called when the node enters the scene tree for the first time.
|
|
public override void _Ready()
|
|
{
|
|
|
|
}
|
|
|
|
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
public override void _Process(double delta)
|
|
{
|
|
}
|
|
|
|
}
|