public Entity(int id, int? playerId, Model.EntityType entityType, Model.Vec2Int position, int health, bool active) { this.Id = id; this.PlayerId = playerId; this.EntityType = entityType; this.Position = position; this.Health = health; this.Active = active; }
public DebugState(Model.Vec2Int windowSize, Model.Vec2Float mousePosWindow, Model.Vec2Float mousePosWorld, string[] pressedKeys, Model.Camera camera, int playerIndex) { this.WindowSize = windowSize; this.MousePosWindow = mousePosWindow; this.MousePosWorld = mousePosWorld; this.PressedKeys = pressedKeys; this.Camera = camera; this.PlayerIndex = playerIndex; }
public MoveAction(Model.Vec2Int target, bool findClosestPosition, bool breakThrough) { this.Target = target; this.FindClosestPosition = findClosestPosition; this.BreakThrough = breakThrough; }
public BuildAction(Model.EntityType entityType, Model.Vec2Int position) { this.EntityType = entityType; this.Position = position; }