com.artemis.WildBag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artemis-odb Show documentation
Show all versions of artemis-odb Show documentation
Fork of Artemis Entity System Framework.
package com.artemis;
import com.artemis.utils.Bag;
/**
* Let's the user set the size.
*
* Setting the size does not resize the bag, nor will it clean up contents
* beyond the given size. Only use this if you know what you are doing!
*
*
* @author junkdog
*
* @param
* object type this bag holds
*/
class WildBag extends Bag {
public WildBag(Class type) {
super(type);
}
/**
* Set the size.
*
* This will not resize the bag, nor will it clean up contents beyond the
* given size. Use with caution.
*
*
* @param size
* the size to set
*/
void setSize(int size) {
this.size = size;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy