mirror of
https://github.com/Relintai/mono_sample.git
synced 2024-11-12 10:25:28 +01:00
23 lines
511 B
C#
23 lines
511 B
C#
|
using Godot;
|
||
|
using System;
|
||
|
|
||
|
public class TestSprite : Sprite
|
||
|
{
|
||
|
// Declare member variables here. Examples:
|
||
|
// private int a = 2;
|
||
|
// private string b = "text";
|
||
|
|
||
|
// 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(float delta)
|
||
|
{
|
||
|
//Position += new Vector2(PMath.sin(delta) * 100, PMath.cos(delta) * 100);
|
||
|
Position += new Vector2(1, 1);
|
||
|
}
|
||
|
}
|