mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
22 lines
536 B
C#
22 lines
536 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Demo.Pacman.Elements
|
|
{
|
|
class Ghost
|
|
{
|
|
readonly char elem;
|
|
int weakTime;
|
|
int sleepTime;
|
|
int sleepWeakTime;
|
|
public Ghost(char elem, int sleepTime, int sleepWeakTime, int weakTime)
|
|
{
|
|
this.elem = elem;
|
|
this.sleepTime = sleepTime;
|
|
this.sleepWeakTime = sleepWeakTime;
|
|
this.weakTime=weakTime;
|
|
}
|
|
}
|
|
}
|