internal static Charachip wodi8(Entity entity, PosUtil posUtil, Texture2D texture) { var chip = new Charachip(entity, posUtil); chip.anim = animForWodi8(texture).zCx(Layers.Stage, Depths.Charachip).setEntity(entity); return(chip); }
public static CharaView wodi8(Entity entity, PosUtil posUtil, Texture2D texture, Vec2i pos, Dir9 dir) { var chip = Charachip.wodi8(entity, posUtil, texture); return(entity.add(new CharaView(chip)).snapToGridPos(pos).setDir(dir)); }
public CharaView(Charachip chip) { this.chip = chip; this.zCx(Layers.Stage, Depths.Charachip); }