Вход

Редактор карт для компьютерной игры

Рекомендуемая категория для самостоятельной подготовки:
Курсовая работа*
Код 98076
Дата создания 2016
Страниц 51
Источников 5
Мы сможем обработать ваш заказ (!) 19 апреля в 12:00 [мск]
Файлы будут доступны для скачивания только после обработки заказа.
2 360руб.
КУПИТЬ

Содержание

Содержание
Введение 3
1. Постановка задачи 4
2. Проектный раздел 5
2.1 Используемые шаблоны проектирования 5
2.2 Описание диаграммы классов 10
3. Эксплуатационный раздел 12
Вывод 15
Приложения 16
Список использованной литературы 51

Фрагмент работы для ознакомления

/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
/// </summary>
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Код, автоматически созданный конструктором форм Windows
/// <summary>
/// Обязательный метод для поддержки конструктора - не изменяйте
/// содержимое данного метода при помощи редактора кода.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.canvas = new System.Windows.Forms.PictureBox();
this.river = new System.Windows.Forms.PictureBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.road = new System.Windows.Forms.PictureBox();
this.field = new System.Windows.Forms.PictureBox();
this.map = new System.Windows.Forms.Panel();
this.button1 = new System.Windows.Forms.Button();
this.bridge = new System.Windows.Forms.PictureBox();
this.bog = new System.Windows.Forms.PictureBox();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.blank = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.canvas)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.river)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.road)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.field)).BeginInit();
this.map.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bridge)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bog)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.blank)).BeginInit();
this.SuspendLayout();
//
// canvas
//
this.canvas.Image = ((System.Drawing.Image)(resources.GetObject("canvas.Image")));
this.canvas.Location = new System.Drawing.Point(10, 0);
this.canvas.Name = "canvas";
this.canvas.Size = new System.Drawing.Size(350, 250);
this.canvas.TabIndex = 0;
this.canvas.TabStop = false;
this.canvas.DragOver += new System.Windows.Forms.DragEventHandler(this.onMouseDragOnCanvas);
this.canvas.MouseMove += new System.Windows.Forms.MouseEventHandler(this.onMouseMoveOnCanvas);
this.canvas.MouseUp += new System.Windows.Forms.MouseEventHandler(this.onCanvas_MouseUp);
//
// river
//
this.river.Image = ((System.Drawing.Image)(resources.GetObject("river.Image")));
this.river.Location = new System.Drawing.Point(393, 0);
this.river.Name = "river";
this.river.Size = new System.Drawing.Size(50, 50);
this.river.TabIndex = 1;
this.river.TabStop = false;
this.toolTip1.SetToolTip(this.river, "Река");
this.river.MouseMove += new System.Windows.Forms.MouseEventHandler(this.onMouseMoveOnCanvas);
this.river.MouseDown += new System.Windows.Forms.MouseEventHandler(this.onMouseDownRiver);
//
// textBox1
//
this.textBox1.Enabled = false;
this.textBox1.Location = new System.Drawing.Point(21, 336);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(42, 20);
this.textBox1.TabIndex = 2;
//
// textBox2
//
this.textBox2.Enabled = false;
this.textBox2.Location = new System.Drawing.Point(92, 336);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(44, 20);
this.textBox2.TabIndex = 3;
//
// road
//
this.road.Image = ((System.Drawing.Image)(resources.GetObject("road.Image")));
this.road.Location = new System.Drawing.Point(393, 56);
this.road.Name = "road";
this.road.Size = new System.Drawing.Size(50, 50);
this.road.TabIndex = 4;
this.road.TabStop = false;
this.toolTip1.SetToolTip(this.road, "Дорога");
this.road.MouseDown += new System.Windows.Forms.MouseEventHandler(this.onMouseDownRoad);
//
// field
//
this.field.Image = ((System.Drawing.Image)(resources.GetObject("field.Image")));
this.field.Location = new System.Drawing.Point(393, 112);
this.field.Name = "field";
this.field.Size = new System.Drawing.Size(50, 50);
this.field.TabIndex = 5;
this.field.TabStop = false;
this.toolTip1.SetToolTip(this.field, "Поле");
this.field.MouseDown += new System.Windows.Forms.MouseEventHandler(this.onMouseDownField);
//
// map
//
this.map.Controls.Add(this.button1);
this.map.Controls.Add(this.canvas);
this.map.Location = new System.Drawing.Point(2, 0);
this.map.Name = "map";
this.map.Size = new System.Drawing.Size(376, 339);
this.map.TabIndex = 6;
//
// button1
//
this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
this.button1.Location = new System.Drawing.Point(223, 264);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(106, 21);
this.button1.TabIndex = 4;
this.button1.Text = "Сохранить в файл";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// bridge
//
this.bridge.Image = ((System.Drawing.Image)(resources.GetObject("bridge.Image")));
this.bridge.Location = new System.Drawing.Point(548, 15);
this.bridge.Name = "bridge";
this.bridge.Size = new System.Drawing.Size(50, 50);
this.bridge.TabIndex = 7;
this.bridge.TabStop = false;
//
// bog
//
this.bog.Image = ((System.Drawing.Image)(resources.GetObject("bog.Image")));
this.bog.Location = new System.Drawing.Point(551, 99);
this.bog.Name = "bog";
this.bog.Size = new System.Drawing.Size(50, 50);
this.bog.TabIndex = 8;
this.bog.TabStop = false;
//
// blank
//
this.blank.Image = ((System.Drawing.Image)(resources.GetObject("blank.Image")));
this.blank.Location = new System.Drawing.Point(393, 168);
this.blank.Name = "blank";
this.blank.Size = new System.Drawing.Size(50, 50);
this.blank.TabIndex = 9;
this.blank.TabStop = false;
this.toolTip1.SetToolTip(this.blank, "Чистое поле");
this.blank.Click += new System.EventHandler(this.blank_Click);
this.blank.MouseDown += new System.Windows.Forms.MouseEventHandler(this.onMouseDownBlank);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(7, 339);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(17, 13);
this.label1.TabIndex = 10;
this.label1.Text = "X:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(69, 339);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(17, 13);
this.label2.TabIndex = 11;
this.label2.Text = "Y:";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(458, 357);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.blank);
this.Controls.Add(this.bog);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.bridge);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.map);
this.Controls.Add(this.field);
this.Controls.Add(this.road);
this.Controls.Add(this.river);
this.MaximumSize = new System.Drawing.Size(474, 395);
this.MinimumSize = new System.Drawing.Size(474, 395);
this.Name = "Form1";
this.Text = "Редактор игровых карт";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.canvas)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.river)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.road)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.field)).EndInit();
this.map.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.bridge)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bog)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.blank)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
private void Form1_Load(object sender, System.EventArgs e)
{
mapp=new string[5,7];
for(int i=0;i<5;i++)
for(int j=0;j<7;j++)
mapp[i,j]="";
//throw new System.NotImplementedException();
}
#endregion
private System.Windows.Forms.PictureBox canvas;
private System.Windows.Forms.PictureBox river;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.PictureBox road;
private System.Windows.Forms.PictureBox field;
//private System.Windows.Forms.PictureBox bridge;
private System.Windows.Forms.Panel map;
private System.Windows.Forms.PictureBox bridge;
private System.Windows.Forms.PictureBox bog;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.PictureBox blank;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
}
}
Список использованой литературы
1. Andrew Krowczyk, «Professional .NET Network Programming» Wrox Press Ltd., 2002 , 417 pages.
2. Andrew Troelsen. «Pro C# 5.0 and the .NET 4.5 Framework» WilliamsPublishing, 2013, 1312 pages.
3. Грейди Буч,«UML. Руководство пользователя», Wesley , 1999, 257 стр.
4. Фаулер М. / UML. Основы, 3-е издание. – Пер. с англ. – СПб: Символ-Плюс, 2006. – 192 с., ил.
5. Гамма Э. «Приемы объектно-ориентированного проектирования. Паттерны проектирования», СПб: Питер, 2001. – 368с.
7

Список литературы [ всего 5]

Список использованой литературы
1. Andrew Krowczyk, «Professional .NET Network Programming» Wrox Press Ltd., 2002 , 417 pages.
2. Andrew Troelsen. «Pro C# 5.0 and the .NET 4.5 Framework» WilliamsPublishing, 2013, 1312 pages.
3. Грейди Буч,«UML. Руководство пользователя», Wesley , 1999, 257 стр.
4. Фаулер М. / UML. Основы, 3-е издание. – Пер. с англ. – СПб: Символ-Плюс, 2006. – 192 с., ил.
5. Гамма Э. «Приемы объектно-ориентированного проектирования. Паттерны проектирования», СПб: Питер, 2001. – 368с.
Очень похожие работы
Пожалуйста, внимательно изучайте содержание и фрагменты работы. Деньги за приобретённые готовые работы по причине несоответствия данной работы вашим требованиям или её уникальности не возвращаются.
* Категория работы носит оценочный характер в соответствии с качественными и количественными параметрами предоставляемого материала. Данный материал ни целиком, ни любая из его частей не является готовым научным трудом, выпускной квалификационной работой, научным докладом или иной работой, предусмотренной государственной системой научной аттестации или необходимой для прохождения промежуточной или итоговой аттестации. Данный материал представляет собой субъективный результат обработки, структурирования и форматирования собранной его автором информации и предназначен, прежде всего, для использования в качестве источника для самостоятельной подготовки работы указанной тематики.
bmt: 0.0047
© Рефератбанк, 2002 - 2024