-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEntity.cs
More file actions
28 lines (26 loc) · 785 Bytes
/
Copy pathEntity.cs
File metadata and controls
28 lines (26 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Numerics;
namespace WindowsFormsApp1 {
public class Entity
{
public string name;
public Vector3 position;
public Vector3 rotation;
public Vector3 scale;
public List<Tuple<string, string>> properties;
public Entity(
string name,
Vector3 position,
Vector3 rotation,
Vector3 scale,
List<Tuple<string, string>> properties)
{
this.name = name;
this.position = position;
this.rotation = rotation;
this.scale = scale;
this.properties = properties == null ? new List<Tuple<string, string>>() : properties;
}
}
}