aboutsummaryrefslogtreecommitdiff
path: root/src/ecs/component.zig
blob: 37956d07275732d0e34e967d7019d5a5a8126976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const std = @import("std");

pub const ComponentStub = struct {
    pub fn init(args: ComponentStub) ComponentStub {
        _ = args;
        return .{};
    }

    pub fn deinit(self: *ComponentStub) void {
        _ = self;
    }
};

pub const ComponentType = enum {
    component_stub,
};

pub const Components = struct {
    component_stub: ?ComponentStub,
};