//--------------------------------------------------------------------------------------------------------------------------------------------------- // // Copyright (C)2007 DarkWynter Studios. All rights reserved. // //--------------------------------------------------------------------------------------------------------------------------------------------------- // {Contact : darkwynter.com for licensing information //--------------------------------------------------------------------------------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; namespace DarkWynter.App { public partial class WeaponsControl : UserControl { public WeaponsControl() { InitializeComponent(); } private void buttonGun_Click(object sender, EventArgs e) { DarkWynter.Engine.DarkWynterEngine.objectLibrary.humans[0].AttackMode(DarkWynter.Engine.Globals.Enums_Engine.AttackType.FIRE); } private void buttonGrenade_Click(object sender, EventArgs e) { DarkWynter.Engine.DarkWynterEngine.objectLibrary.humans[0].AttackMode(DarkWynter.Engine.Globals.Enums_Engine.AttackType.WATER); } private void buttonGpuAttack_Click(object sender, EventArgs e) { DarkWynter.Engine.DarkWynterEngine.objectLibrary.humans[0].AttackMode(DarkWynter.Engine.Globals.Enums_Engine.AttackType.EARTH); } private void buttonTerrainMod_Click(object sender, EventArgs e) { DarkWynter.Engine.DarkWynterEngine.objectLibrary.humans[0].AttackMode(DarkWynter.Engine.Globals.Enums_Engine.AttackType.TERRAIN); } } }