// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.component.data.change;

import javax.annotation.Nonnull;
import com.hypixel.hytale.component.system.ISystem;

public class SystemChange<ECS_TYPE> implements DataChange
{
    private final ChangeType type;
    private final ISystem<ECS_TYPE> system;
    
    public SystemChange(final ChangeType type, final ISystem<ECS_TYPE> system) {
        this.type = type;
        this.system = system;
    }
    
    public ChangeType getType() {
        return this.type;
    }
    
    public ISystem<ECS_TYPE> getSystem() {
        return this.system;
    }
    
    @Nonnull
    @Override
    public String toString() {
        return "SystemChange{type=" + String.valueOf(this.type) + ", system=" + String.valueOf(this.system);
    }
}
