-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuildBackground.cs
More file actions
41 lines (35 loc) · 831 Bytes
/
BuildBackground.cs
File metadata and controls
41 lines (35 loc) · 831 Bytes
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
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ImagineCup2012
{
public class BuildBackground
{
private bool active;
private int index;
private BackgroundObject backObject;
public BuildBackground(bool active, int index, BackgroundObject backObject)
{
this.active = active;
this.index = index;
this.backObject = backObject;
}
public bool isActive()
{
return active;
}
public int getIndex()
{
return index;
}
public BackgroundObject getBackObject()
{
return backObject;
}
public void setActive(bool active)
{
this.active = active;
}
}
}