All Downloads are FREE. Search and download functionalities are using the official Maven repository.

skadistats.clarity.model.state.EntityStateFactory Maven / Gradle / Ivy

Go to download

Clarity is an open source replay parser for Dota 2, CSGO, CS2 and Deadlock written in Java.

There is a newer version: 3.1.1
Show newest version
package skadistats.clarity.model.state;

import skadistats.clarity.io.s1.ReceiveProp;
import skadistats.clarity.io.s2.field.SerializerField;

public class EntityStateFactory {

    public static EntityState forS1(ReceiveProp[] receiveProps) {
        return new ObjectArrayEntityState(receiveProps.length);
    }

    public static EntityState forS2(SerializerField field) {
        return new NestedArrayEntityState(field);
        //return new TreeMapEntityState();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy