MouseOver() public method

public MouseOver ( int i, int j ) : void
i int
j int
return void
Beispiel #1
0
        //in Terraria.Player.Update after if statements setting showItemIcon call
        //  TileLoader.MouseOver(Player.tileTargetX, Player.tileTargetY);
        public static void MouseOver(int i, int j)
        {
            int     type    = Main.tile[i, j].type;
            ModTile modTile = GetTile(type);

            if (modTile != null)
            {
                modTile.MouseOver(i, j);
            }
            foreach (GlobalTile globalTile in globalTiles)
            {
                globalTile.MouseOver(i, j, type);
            }
        }