15 lines
No EOL
224 B
Beef
15 lines
No EOL
224 B
Beef
namespace Theater_ECS_Example;
|
|
|
|
using System;
|
|
|
|
struct Position
|
|
{
|
|
public float x = (.)gRand.NextI32() % 1280;
|
|
public float y = (.)gRand.NextI32() % 720;
|
|
|
|
public void Update(float a, float b) mut
|
|
{
|
|
x += a;
|
|
y += b;
|
|
}
|
|
} |