-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathGlobalBeam.cs
36 lines (34 loc) · 858 Bytes
/
GlobalBeam.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using ReLogic.Content;
using System;
using Terraria;
using Terraria.Audio;
using Terraria.DataStructures;
using Terraria.ModLoader;
namespace MetroidMod
{
/*
public abstract class GlobalBeam : ModType
{
public virtual bool OnChargeShoot()
{
return true;
}
public virtual bool OnShoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback, ModBeam beam)
{
return true;
}
public virtual bool CanUse(Player player, Item beam)
{
return true;
}
protected override sealed void Register()
{
BeamLoader.globalBeams.Add(this);
}
public override sealed void SetupContent() => SetStaticDefaults();
public override void SetStaticDefaults() => base.SetStaticDefaults();
}
*/
}