Beispiel #1
0
        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);
        }
Beispiel #2
0
        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));
        }
Beispiel #3
0
 public CharaView(Charachip chip)
 {
     this.chip = chip;
     this.zCx(Layers.Stage, Depths.Charachip);
 }