mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-04 17:34:58 +01:00
Added Standard Bogey Instance (Might be redundant)
This commit is contained in:
parent
2661d260d8
commit
469d9d592b
1 changed files with 20 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
package com.simibubi.create.content.logistics.trains.entity;
|
||||
|
||||
import com.jozufozu.flywheel.api.MaterialManager;
|
||||
import com.simibubi.create.content.logistics.trains.BogeyRenderer;
|
||||
import com.simibubi.create.content.logistics.trains.StandardBogeyRenderer;
|
||||
|
||||
public class StandardBogeyInstance extends BogeyInstance {
|
||||
public StandardBogeyInstance(CarriageBogey bogey, BogeyRenderer.BogeySize bogeySize, MaterialManager materialManager) {
|
||||
super(bogey, new StandardBogeyRenderer(), bogeySize, materialManager);
|
||||
}
|
||||
|
||||
public static StandardBogeyInstance drive(CarriageBogey bogey, MaterialManager materialManager) {
|
||||
return new StandardBogeyInstance(bogey, BogeyRenderer.BogeySize.LARGE, materialManager);
|
||||
}
|
||||
|
||||
|
||||
public static StandardBogeyInstance frame(CarriageBogey bogey, MaterialManager materialManager) {
|
||||
return new StandardBogeyInstance(bogey, BogeyRenderer.BogeySize.SMALL, materialManager);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue